Provides runMainLoop for top level window.
More...
#include <WindowHolder.h>
Provides runMainLoop for top level window.
Definition at line 9 of file WindowHolder.h.
◆ WindowHolder()
gui_framework::WindowHolder::WindowHolder |
( |
std::unique_ptr< BaseComposite > && | compositeWindow, |
|
|
bool | unregisterClass = false ) |
|
noexcept |
- Parameters
-
compositeWindow | |
clearClass | Unregister class after window destroy |
◆ ~WindowHolder()
gui_framework::WindowHolder::~WindowHolder |
( |
| ) |
|
◆ get() [1/4]
T * gui_framework::WindowHolder::get |
( |
| ) |
|
◆ get() [2/4]
◆ get() [3/4]
const T * gui_framework::WindowHolder::get |
( |
| ) |
const |
◆ get() [4/4]
◆ runMainLoop()
int gui_framework::WindowHolder::runMainLoop |
( |
const std::vector< uint32_t > & | registeredHotkeyIds = {} | ) |
|
Process messages. Must be called after initialization.
- Parameters
-
registeredHotkeyIds | You may pass all registered hotkeys for unregister them after window destroy |
- Exceptions
-
Definition at line 38 of file WindowHolder.cpp.
◆ BaseDialogBox
The documentation for this class was generated from the following files: