You've already forked pico-launcher
mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-01-09 16:28:48 -08:00
22 lines
742 B
C++
22 lines
742 B
C++
#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;
|
|
};
|