7 #ifndef CAFU_GUISYS_GUIMAN_HPP_INCLUDED
8 #define CAFU_GUISYS_GUIMAN_HPP_INCLUDED
10 #include "Templates/Array.hpp"
11 #include "Templates/Pointer.hpp"
90 bool SuppressNextChar;
void ReloadAllGuis()
Reloads all registered GUIs.
Definition: GuiManImpl.cpp:105
IntrusivePtrT< GuiImplT > Register(const std::string &GuiScriptName)
Creates a GUI from the script with name GuiScriptName and registers it with the GUI manager...
Definition: GuiManImpl.cpp:29
This class implements smart (reference-counted) pointers.
Definition: Pointer.hpp:43
This class implements a GUI manager.
Definition: GuiManImpl.hpp:28
IntrusivePtrT< GuiImplT > GetTopmostActiveAndInteractive()
Returns the top-most GUI that is both active and interactive.
Definition: GuiManImpl.cpp:91
IntrusivePtrT< GuiImplT > Find(const std::string &GuiScriptName, bool AutoRegister=false)
Searches the GUI manager for a GUI whose script name is GuiScriptName.
Definition: GuiManImpl.cpp:69
This struct describes a mouse event.
Definition: OpenGLWindow.hpp:185
void RenderAll()
Renders all the GUIs.
Definition: GuiManImpl.cpp:127
void DistributeClockTickEvents(float t)
"Creates" a time tick event for each window of each active GUI by calling its OnTimeTickEvent() metho...
Definition: GuiManImpl.cpp:202
void Free(IntrusivePtrT< GuiImplT > Gui)
Removes the Gui from the GUI manager.
Definition: GuiManImpl.cpp:58
This struct describes a keyboard event.
Definition: OpenGLWindow.hpp:20
void ProcessDeviceEvent(const CaKeyboardEventT &KE)
Processes a keyboard event from the device that this GuiMan is running under, sending it to the top-m...
Definition: GuiManImpl.cpp:156
GuiManImplT(GuiResourcesT &GuiRes)
The constructor.
Definition: GuiManImpl.cpp:21
Definition: Renderer.hpp:16
void BringToFront(IntrusivePtrT< GuiImplT > Gui)
Makes sure that if multiple GUIs are active, Gui is the topmost one.
Definition: GuiManImpl.cpp:79
This class manages and provides resources (fonts and models) for GuiImplT instances.
Definition: GuiResources.hpp:26