Initial commit

This commit is contained in:
Gericom
2025-11-22 17:21:45 +01:00
commit 5d6f67c612
517 changed files with 63025 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#pragma once
#include "ViewContainer.h"
#include "DialogType.h"
/// @brief View meant to be displayed as a dialog on top of other content.
class DialogView : public ViewContainer
{
public:
/// @brief Gets the type of dialog.
/// @return The type of dialog.
virtual DialogType GetDialogType() const = 0;
/// @brief Moves the focus to this dialog.
/// @param focusManager The focus manager to use.
virtual void Focus(FocusManager& focusManager) = 0;
/// @brief Gets the area of the screen that will be fully covered by
/// this dialog for the purpose of culling views behind it.
/// @return A rectangle that is fully covered by the dialog.
virtual Rectangle GetFullyCoveredArea() const = 0;
};