|
FIFE
|
#include <ceguimanager.h>
Inheritance diagram for FIFE::CEGuiManager:
Collaboration diagram for FIFE::CEGuiManager:Public Member Functions | |
| CEGuiManager () | |
| Constructor. More... | |
| virtual | ~CEGuiManager () |
| virtual void | turn () |
| Updates and renders the gui. More... | |
| virtual void | resizeTopContainer (uint32_t x, uint32_t y, uint32_t width, uint32_t height) |
| Resizes the top container. More... | |
| virtual bool | onSdlEvent (SDL_Event &event) |
| Receives input and converts it to librocket format, then it forwards it to librocket. More... | |
| void | setRootWindow (CEGUI::Window *setRootWindow) |
| Sets the root window of the gui system. More... | |
| CEGUI::Window * | getRootWindow () |
Public Member Functions inherited from FIFE::IGUIManager | |
| virtual | ~IGUIManager () |
| Destructor. More... | |
Public Member Functions inherited from FIFE::ISdlEventListener | |
| virtual | ~ISdlEventListener () |
Public Member Functions inherited from FIFE::DynamicSingleton< CEGuiManager > | |
| DynamicSingleton () | |
| virtual | ~DynamicSingleton () |
Private Member Functions | |
| void | injectTimePulse () |
| Inject a time pulse to CEGUI. More... | |
Private Attributes | |
| CEGuiInputProcessor * | m_inputProcessor |
| Input processor. More... | |
| double | m_lastTimePulse |
| Last time pulse injected to CEGUI. More... | |
| CEGUI::Window * | m_guiRoot |
| Our root gui window. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from FIFE::DynamicSingleton< CEGuiManager > | |
| static CEGuiManager * | instance () |
Definition at line 45 of file ceguimanager.h.
| FIFE::CEGuiManager::CEGuiManager | ( | ) |
Constructor.
Definition at line 39 of file ceguimanager.cpp.
References FIFE::TimeManager::getTime(), FIFE::DynamicSingleton< TimeManager >::instance(), m_inputProcessor, and m_lastTimePulse.
|
virtual |
Definition at line 51 of file ceguimanager.cpp.
References m_inputProcessor.
| CEGUI::Window * FIFE::CEGuiManager::getRootWindow | ( | ) |
Definition at line 75 of file ceguimanager.cpp.
References m_guiRoot.
|
private |
Inject a time pulse to CEGUI.
Definition at line 79 of file ceguimanager.cpp.
References FIFE::TimeManager::getTime(), FIFE::DynamicSingleton< TimeManager >::instance(), and m_lastTimePulse.
Referenced by turn().
Here is the caller graph for this function:
|
virtual |
Receives input and converts it to librocket format, then it forwards it to librocket.
Implements FIFE::ISdlEventListener.
Definition at line 66 of file ceguimanager.cpp.
References m_inputProcessor, and FIFE::CEGuiInputProcessor::onSdlEvent().
|
virtual |
Resizes the top container.
| x | The new starting X coordinate. |
| y | The new starting Y coordinate. |
| width | The new width. |
| height | The new height. |
Implements FIFE::IGUIManager.
Definition at line 63 of file ceguimanager.cpp.
| void FIFE::CEGuiManager::setRootWindow | ( | CEGUI::Window * | setRootWindow | ) |
Sets the root window of the gui system.
Definition at line 70 of file ceguimanager.cpp.
References m_guiRoot.
|
virtual |
Updates and renders the gui.
Implements FIFE::IGUIManager.
Definition at line 57 of file ceguimanager.cpp.
References injectTimePulse().
|
private |
Our root gui window.
Definition at line 98 of file ceguimanager.h.
Referenced by getRootWindow(), and setRootWindow().
|
private |
Input processor.
Converts SDL input to CEGUI input.
Definition at line 90 of file ceguimanager.h.
Referenced by CEGuiManager(), onSdlEvent(), and ~CEGuiManager().
|
private |
Last time pulse injected to CEGUI.
Definition at line 94 of file ceguimanager.h.
Referenced by CEGuiManager(), and injectTimePulse().