Class abstracting the windowing system used.
More...
Class abstracting the windowing system used.
◆ WindowingSystem()
nkWinUi::WindowingSystem::WindowingSystem |
( |
System * |
system | ) |
|
|
noexcept |
Constructor.
- Parameters
-
system | The parent main system. |
◆ ~WindowingSystem()
virtual nkWinUi::WindowingSystem::~WindowingSystem |
( |
| ) |
|
|
virtual |
◆ getAllocator()
DataAllocator* nkWinUi::WindowingSystem::getAllocator |
( |
| ) |
const |
- Returns
- The system's data allocator.
◆ getComponentUtils()
- Returns
- The system's component utils.
◆ getInputProcessor()
InputProcessor* nkWinUi::WindowingSystem::getInputProcessor |
( |
| ) |
const |
- Returns
- The system's input processor.
◆ getSystemType()
SYSTEM_TYPE nkWinUi::WindowingSystem::getSystemType |
( |
| ) |
const |
◆ load()
virtual bool nkWinUi::WindowingSystem::load |
( |
| ) |
|
|
pure virtual |
Prepares the system for use.
◆ run()
virtual void nkWinUi::WindowingSystem::run |
( |
| ) |
|
|
pure virtual |
Runs the system. This variant will loop inside, ticking as required.
◆ tick()
virtual void nkWinUi::WindowingSystem::tick |
( |
| ) |
|
|
pure virtual |
Ticks the system. This can be called in a custom loop to make the system move forward.
◆ prepareForShutdown()
virtual void nkWinUi::WindowingSystem::prepareForShutdown |
( |
| ) |
|
|
pure virtual |
Prepares the system for shutdown.
◆ shutdown()
virtual void nkWinUi::WindowingSystem::shutdown |
( |
| ) |
|
|
pure virtual |
◆ notifyEvent()
virtual void nkWinUi::WindowingSystem::notifyEvent |
( |
| ) |
|
|
pure virtual |
Gives a dummy event to stimulate the system. For some systems that are working by waiting on events, this will trigger a tick.
The documentation for this class was generated from the following file: