Class GuiManager
- Namespace
- OmegaGUI
- Assembly
- OmegaGUI.dll
Maintains lists of all DialogPresenters
public sealed class GuiManager : IDisposable
- Inheritance
-
objectGuiManager
- Implements
Constructors
GuiManager(Engine)
Sets up the GUI system for rendering with the engine.
public GuiManager(Engine engine)
Parameters
Methods
CloseAll()
Closes all open DialogPresenters.
[LuaMember]
public void CloseAll()
Dispose()
public void Dispose()
~GuiManager()
protected ~GuiManager()
OnMsgProc(Message)
Handles Windows Messages for the GUI
public bool OnMsgProc(Message m)
Parameters
mMessageThe message to handle
Returns
- bool
trueif the message was handled and no further processing is necessary
Reset()
Closes all open DialogPresenters and resets the GUI system (i.e. clears all its caches).
[LuaMember]
public void Reset()
Update()
Invokes Update() on all open DialogPresenters.
[LuaMember]
public void Update()
Update(double)
Invokes Update() once per second. Call once per frame before rendering.
public void Update(double elapsedTime)
Parameters
elapsedTimedoubleThe number of seconds of real time that have passed since the last frame.