|
ReXGlue SDK
|
#include <rex/ui/ui_event.h>
Public Member Functions | |
| UISetupEvent (Type type, bool is_initial_setup=false) | |
| bool | IsInitialSetup () const |
| Public Member Functions inherited from rex::ui::UIEvent | |
| UIEvent (Type type) | |
| Type | GetType () const |
| template<typename T> | |
| const T * | As () const |
Static Public Member Functions | |
| static constexpr bool | Carries (Type type) |
Additional Inherited Members | |
| Public Types inherited from rex::ui::UIEvent | |
| enum class | Type : u8 { kOpened , kDPIChanged , kMonitorUpdate , kMinimized , kRestored , kClosing , kFileDrop , kResize , kClose , kFocus , kTouch } |
Carries the setup state for the window opening, DPI, resize, focus and monitor events.
|
inline |
Creates a setup event.
| type | Opened, DPIChanged, Resize, Focus or MonitorUpdate. |
| is_initial_setup | True when the window is opening. |
|
inlinestaticconstexpr |
Reports whether this class carries a type.