#include <gui_manager.hxx>
Inheritance diagram for GUIManager:
Public Member Functions | |
GUIManager () | |
virtual | ~GUIManager () |
virtual void | run_once () |
void | draw () |
virtual void | update () |
virtual void | draw_overlay () |
void | quit () |
void | add (GUIComponent *) |
void | grab_mouse (GUIComponent *) |
void | ungrab_mouse (GUIComponent *) |
Definition at line 29 of file gui_manager.hxx.
|
Definition at line 38 of file gui_manager.cxx. References SystemContext::get_time(), and system_context. |
|
Definition at line 49 of file gui_manager.cxx. |
|
add a GUIComponent, the component will get deleted after in the destruction of the guimanager Definition at line 338 of file gui_manager.cxx. Referenced by LoadGUIManager::LoadGUIManager(), SaveGUIManager::SaveGUIManager(), and WorldGUIManager::WorldGUIManager(). |
|
Draw all the GUI components Definition at line 81 of file gui_manager.cxx. Referenced by run_once(). |
|
Reimplemented in LoadGUIManager, SaveGUIManager, and WorldGUIManager. Definition at line 62 of file gui_manager.hxx. Referenced by run_once(). |
|
|
Stops the GUIManager |
|
Launches a single run from the games main loop Reimplemented in LoadGUIManager, and SaveGUIManager. Definition at line 54 of file gui_manager.cxx. References GraphicContext::clear(), current_fps, draw(), draw_overlay(), GraphicContext::flip(), SystemContext::get_time(), graphic_context, system_context, and update(). Referenced by ScreenManager::run_once(), SaveGUIManager::run_once(), and LoadGUIManager::run_once(). |
|
|
Reimplemented in WorldGUIManager. Definition at line 60 of file gui_manager.hxx. Referenced by run_once(). |