|
|
bool | OnEvent (irr::SEvent event) |
| |
|
| CEGuiBaseApplication () |
| | Constructor.
|
| |
|
virtual | ~CEGuiBaseApplication () |
| | Destructor.
|
| |
| bool | execute (SamplesFrameworkBase *sampleApp) |
| | Start the base application. More...
|
| |
|
void | cleanup () |
| | Performs any required cleanup of the base application system.
|
| |
| void | renderSingleFrame (const float elapsed) |
| | Render a single display frame. This should be called by subclasses to perform rendering. More...
|
| |
|
bool | isInitialised () |
| |
|
const char * | getDataPathPrefix () const |
| | Return the path prefix to use for datafiles. The value returned is obtained via a environment variable named 'CEGUI_SAMPLE_DATAPATH' if the variable is not set, a default will be used depending on the build system in use.
|
| |
|
void | registerSampleOverlayHandler (CEGUI::GUIContext *gui_context) |
| | Registers the overlay handler for rendering the FPS for a specified GUIContext.
|
| |
|
|
void | checkWindowResize () |
| | member to check and handle resizing of the display window.
|
| |
|
void | run () |
| | The abstract function for initialising and running the application.
|
| |
|
void | destroyWindow () |
| | The abstract function for destroying the renderer and the window.
|
| |
|
void | beginRendering (const float elapsed) |
| | Implementation function to perform required pre-render operations.
|
| |
|
void | endRendering () |
| | Implementation function to perform required post-render operations.
|
| |
|
bool | processEvent (const irr::SEvent &event) |
| |
|
bool | OnKeyDown (irr::EKEY_CODE key, wchar_t wch, bool, bool) |
| |
|
bool | OnKeyUp (irr::EKEY_CODE key, wchar_t, bool, bool) |
| |
|
bool | OnMouse (irr::s32 x, irr::s32 y, irr::f32 w, irr::EMOUSE_INPUT_EVENT e) |
| |
|
virtual void | initialiseResourceGroupDirectories () |
| | Setup standard sample resource group directory locations. Default uses the CEGUI::DefaultResourceProvider - override if the sample base app being implemented uses something else!
|
| |
|
virtual void | initialiseDefaultResourceGroups () |
| | initialise the standard default resource groups used by the samples.
|
| |
|
void | updateFPS (const float elapsed) |
| | function that updates the FPS rendering as needed.
|
| |
|
void | updateLogo (const float elapsed) |
| | function that updates the logo rotation as needed.
|
| |
|
void | positionLogo () |
| | function that positions the logo in the correct place.
|
| |
|
void | positionFPS () |
| | positions the FPS counter at the correct place.
|
| |
|
bool | sampleBrowserOverlayHandler (const CEGUI::EventArgs &args) |
| | event handler function that draws the logo and FPS overlay elements.
|
| |
|
bool | sampleOverlayHandler (const CEGUI::EventArgs &args) |
| | event handler function that draws the FPS overlay elements.
|
| |
|
bool | resizeHandler (const CEGUI::EventArgs &args) |
| | event handler function called when main view is resized
|
| |