Sleeping Wombat GUI
0.100
swGUI
|
#include <MockGUI.h>
Public Member Functions | |
MockGUI () | |
virtual | ~MockGUI ()=default |
virtual bool | MainLoop (bool blockingMode) override |
Invokes main loop of native GUI. More... | |
virtual bool | Init (const NativeGUIInitData &initData) override |
Initializes native GUI. More... | |
virtual sw::input::IInput * | UseNativeInput () override |
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) override |
Creates native GUI window. More... | |
Public Member Functions inherited from sw::gui::INativeGUI | |
INativeGUI ()=default | |
~INativeGUI ()=default | |
Static Public Member Functions | |
static MockGUI * | Create () |
Creates WinAPIGUI object. More... | |
Private Attributes | |
NativeGUIInitData | m_initData |
|
explicit |
|
virtualdefault |
|
overridevirtual |
Creates native GUI window.
Implements sw::gui::INativeGUI.
|
overridevirtual |
Initializes native GUI.
Implements sw::gui::INativeGUI.
|
overridevirtual |
Invokes main loop of native GUI.
Implements sw::gui::INativeGUI.
|
overridevirtual |
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.
Implements sw::gui::INativeGUI.
|
private |