Sleeping Wombat GUI
0.100
swGUI
|
Interface encasulates native GUI system. More...
#include <INativeGUI.h>
Public Member Functions | |
INativeGUI ()=default | |
~INativeGUI ()=default | |
virtual bool | MainLoop (bool blockingMode)=0 |
Invokes main loop of native GUI. More... | |
virtual bool | Init (const NativeGUIInitData &initData)=0 |
Initializes native GUI. More... | |
virtual sw::input::IInput * | UseNativeInput ()=0 |
Initalize native api for this gui system and return IInput object. GUI can use native input api for specific gui system or provide different library to deal directly with hardware. Classes derived from INativeGUI are reposible for updating native inputs in main loop. In case of using separate hardware input library INativeGUI does nothing. More... | |
virtual INativeWindow * | CreateWindow (NativeWindowDescriptor &descriptor)=0 |
Creates native GUI window. More... | |
Interface encasulates native GUI system.
|
default |
|
default |
|
pure virtual |
Creates native GUI window.
Implemented in sw::gui::WinAPIGUI, and sw::gui::MockGUI.
|
pure virtual |
Initializes native GUI.
Implemented in sw::gui::WinAPIGUI, and sw::gui::MockGUI.
|
pure virtual |
Invokes main loop of native GUI.
Implemented in sw::gui::WinAPIGUI, and sw::gui::MockGUI.
|
pure virtual |
Initalize native api for this gui system and return IInput object. GUI can use native input api for specific gui system or provide different library to deal directly with hardware. Classes derived from INativeGUI are reposible for updating native inputs in main loop. In case of using separate hardware input library INativeGUI does nothing.
Implemented in sw::gui::WinAPIGUI, and sw::gui::MockGUI.