OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Main class to manage a cursor, backdrop, trays and widgets. More...
#include <OgreTrays.h>
Public Member Functions | |
TrayManager (const Ogre::String &name, Ogre::RenderWindow *window, TrayListener *listener=0) | |
Creates backdrop, cursor, and trays. More... | |
virtual | ~TrayManager () |
Destroys background, cursor, widgets, and trays. More... | |
virtual void | adjustTrays () |
Fits trays to their contents and snaps them to their anchor locations. More... | |
bool | areFrameStatsVisible () |
bool | areTraysVisible () |
void | buttonHit (Button *button) |
Destroys dialog widgets, notifies listener, and ends high priority session. More... | |
virtual void | checkBoxToggled (CheckBox *box) |
void | clearAllTrays () |
Removes all widgets from all widget trays. More... | |
void | clearTray (TrayLocation trayLoc) |
Removes all widgets from a widget tray. More... | |
void | closeDialog () |
Hides whatever dialog is currently showing. More... | |
Button * | createButton (TrayLocation trayLoc, const Ogre::String &name, const Ogre::String &caption, Ogre::Real width=0) |
CheckBox * | createCheckBox (TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width=0) |
DecorWidget * | createDecorWidget (TrayLocation trayLoc, const Ogre::String &name, const Ogre::String &templateName) |
Label * | createLabel (TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width=0) |
SelectMenu * | createLongSelectMenu (TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real boxWidth, unsigned int maxItemsShown, const Ogre::StringVector &items=Ogre::StringVector()) |
SelectMenu * | createLongSelectMenu (TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real boxWidth, unsigned int maxItemsShown, const Ogre::StringVector &items=Ogre::StringVector()) |
Slider * | createLongSlider (TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real trackWidth, Ogre::Real valueBoxWidth, Ogre::Real minValue, Ogre::Real maxValue, unsigned int snaps) |
Slider * | createLongSlider (TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real trackWidth, Ogre::Real valueBoxWidth, Ogre::Real minValue, Ogre::Real maxValue, unsigned int snaps) |
ParamsPanel * | createParamsPanel (TrayLocation trayLoc, const Ogre::String &name, Ogre::Real width, unsigned int lines) |
ParamsPanel * | createParamsPanel (TrayLocation trayLoc, const Ogre::String &name, Ogre::Real width, const Ogre::StringVector ¶mNames) |
ProgressBar * | createProgressBar (TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real commentBoxWidth) |
Separator * | createSeparator (TrayLocation trayLoc, const Ogre::String &name, Ogre::Real width=0) |
TextBox * | createTextBox (TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real height) |
SelectMenu * | createThickSelectMenu (TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, unsigned int maxItemsShown, const Ogre::StringVector &items=Ogre::StringVector()) |
Slider * | createThickSlider (TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real valueBoxWidth, Ogre::Real minValue, Ogre::Real maxValue, unsigned int snaps) |
void | destroyAllWidgets () |
Destroys all widgets. More... | |
void | destroyAllWidgetsInTray (TrayLocation trayLoc) |
Destroys all widgets in a tray. More... | |
void | destroyWidget (Widget *widget) |
Destroys a widget. More... | |
void | destroyWidget (TrayLocation trayLoc, size_t place) |
void | destroyWidget (TrayLocation trayLoc, const Ogre::String &name) |
void | destroyWidget (const Ogre::String &name) |
void | frameRendered (const Ogre::FrameEvent &evt) |
Process frame events. More... | |
Ogre::OverlayContainer * | getBackdropContainer () |
Ogre::Overlay * | getBackdropLayer () |
Ogre::OverlayContainer * | getCursorContainer () |
Ogre::OverlayElement * | getCursorImage () |
Ogre::Overlay * | getCursorLayer () |
Ogre::Ray | getCursorRay (Ogre::Camera *cam) |
Returns a 3D ray into the scene that is directly underneath the cursor. More... | |
TrayListener * | getListener () |
unsigned int | getNumWidgets () |
Gets the number of widgets in total. More... | |
size_t | getNumWidgets (TrayLocation trayLoc) |
Gets the number of widgets in a tray. More... | |
Ogre::OverlayContainer * | getTrayContainer (TrayLocation trayLoc) |
virtual Ogre::Real | getTrayPadding () const |
Ogre::Overlay * | getTraysLayer () |
Widget * | getWidget (TrayLocation trayLoc, unsigned int place) |
Gets a widget from a tray by place. More... | |
Widget * | getWidget (TrayLocation trayLoc, const Ogre::String &name) |
Gets a widget from a tray by name. More... | |
Widget * | getWidget (const Ogre::String &name) |
Gets a widget by name. More... | |
WidgetIterator | getWidgetIterator (TrayLocation trayLoc) |
Gets all the widgets of a specific tray. More... | |
virtual Ogre::Real | getWidgetPadding () const |
const WidgetList & | getWidgets (TrayLocation trayLoc) const |
Gets all the widgets of a specific tray. More... | |
virtual Ogre::Real | getWidgetSpacing () const |
void | hideAll () |
void | hideBackdrop () |
void | hideCursor () |
void | hideFrameStats () |
Hides frame statistics widget set. More... | |
void | hideLoadingBar () |
void | hideLogo () |
void | hideTrays () |
bool | isBackdropVisible () |
bool | isCursorVisible () |
bool | isDialogVisible () |
Determines if any dialog is currently visible. More... | |
bool | isLoadingBarVisible () |
bool | isLogoVisible () |
virtual void | itemSelected (SelectMenu *menu) |
virtual bool | keyPressed (const KeyboardEvent &evt) |
virtual bool | keyReleased (const KeyboardEvent &evt) |
void | labelHit (Label *label) |
Toggles visibility of advanced statistics. More... | |
int | locateWidgetInTray (Widget *widget) |
Gets a widget's position in its tray. More... | |
bool | mouseMoved (const MouseMotionEvent &evt) |
Updates cursor position. More... | |
bool | mousePressed (const MouseButtonEvent &evt) |
Processes mouse button down events. More... | |
bool | mouseReleased (const MouseButtonEvent &evt) |
Processes mouse button up events. More... | |
virtual bool | mouseWheelRolled (const MouseWheelEvent &evt) |
void | moveWidgetToTray (Widget *widget, TrayLocation trayLoc, size_t place=-1) |
Adds a widget to a specified tray at given position, or at the end if unspecified or invalid. More... | |
void | moveWidgetToTray (const Ogre::String &name, TrayLocation trayLoc, size_t place=-1) |
void | moveWidgetToTray (TrayLocation currentTrayLoc, const Ogre::String &name, TrayLocation targetTrayLoc, size_t place=-1) |
void | moveWidgetToTray (TrayLocation currentTrayLoc, size_t currentPlace, TrayLocation targetTrayLoc, size_t targetPlace=-1) |
virtual void | okDialogClosed (const Ogre::DisplayString &message) |
void | refreshCursor () |
Updates cursor position based on unbuffered mouse state. More... | |
void | removeWidgetFromTray (Widget *widget) |
Removes a widget from its tray. More... | |
void | removeWidgetFromTray (const Ogre::String &name) |
void | removeWidgetFromTray (TrayLocation trayLoc, const Ogre::String &name) |
void | removeWidgetFromTray (TrayLocation trayLoc, size_t place) |
virtual void | resourceCreated (const ResourcePtr &resource) |
This event is fired when a resource was just created. More... | |
virtual void | resourceGroupLoadEnded (const String &groupName) |
This event is fired when a resource group finished loading. More... | |
virtual void | resourceGroupLoadStarted (const String &groupName, size_t resourceCount) |
This event is fired when a resource group begins loading. More... | |
void | resourceGroupLoadStarted (const Ogre::String &groupName, size_t resourceCount) |
virtual void | resourceGroupPrepareEnded (const String &groupName) |
This event is fired when a resource group finished preparing. More... | |
virtual void | resourceGroupPrepareStarted (const String &groupName, size_t resourceCount) |
This event is fired when a resource group begins preparing. More... | |
virtual void | resourceGroupScriptingEnded (const String &groupName) |
This event is fired when a resource group finished parsing scripts. More... | |
virtual void | resourceGroupScriptingStarted (const String &groupName, size_t scriptCount) |
This event is fired when a resource group begins parsing scripts. More... | |
void | resourceGroupScriptingStarted (const Ogre::String &groupName, size_t scriptCount) |
void | resourceLoadEnded () |
This event is fired when the resource has been loaded. More... | |
void | resourceLoadStarted (const Ogre::ResourcePtr &resource) |
This event is fired when a declared resource is about to be loaded. More... | |
virtual void | resourcePrepareEnded (void) |
This event is fired when the resource has been prepared. More... | |
virtual void | resourcePrepareStarted (const ResourcePtr &resource) |
This event is fired when a declared resource is about to be prepared. More... | |
virtual void | resourceRemove (const ResourcePtr &resource) |
This event is fired when a resource is about to be removed. More... | |
virtual void | scriptParseEnded (const String &scriptName, bool skipped) |
This event is fired when the script has been fully parsed. More... | |
void | scriptParseEnded (const Ogre::String &scriptName, bool skipped) |
virtual void | scriptParseStarted (const String &scriptName, bool &skipThisScript) |
This event is fired when a script is about to be parsed. More... | |
void | scriptParseStarted (const Ogre::String &scriptName, bool &skipThisScript) |
void | setListener (TrayListener *listener) |
void | setTrayPadding (Ogre::Real padding) |
void | setTrayWidgetAlignment (TrayLocation trayLoc, Ogre::GuiHorizontalAlignment gha) |
Sets horizontal alignment of a tray's contents. More... | |
void | setWidgetPadding (Ogre::Real padding) |
void | setWidgetSpacing (Ogre::Real spacing) |
void | showAll () |
void | showBackdrop (const Ogre::String &materialName=Ogre::BLANKSTRING) |
Displays specified material on backdrop, or the last material used if none specified. More... | |
void | showCursor (const Ogre::String &materialName=Ogre::BLANKSTRING) |
Displays specified material on cursor, or the last material used if none specified. More... | |
void | showFrameStats (TrayLocation trayLoc, size_t place=-1) |
Shows frame statistics widget set in the specified location. More... | |
void | showLoadingBar (unsigned int numGroupsInit=1, unsigned int numGroupsLoad=1, Ogre::Real initProportion=0.7) |
Shows loading bar. More... | |
void | showLogo (TrayLocation trayLoc, size_t place=-1) |
Shows logo in the specified location. More... | |
void | showOkDialog (const Ogre::DisplayString &caption, const Ogre::DisplayString &message) |
Pops up a message dialog with an OK button. More... | |
void | showTrays () |
void | showYesNoDialog (const Ogre::DisplayString &caption, const Ogre::DisplayString &question) |
Pops up a question dialog with Yes and No buttons. More... | |
virtual void | sliderMoved (Slider *slider) |
void | toggleAdvancedFrameStats () |
Toggles visibility of advanced statistics. More... | |
virtual bool | touchMoved (const TouchFingerEvent &evt) |
virtual bool | touchPressed (const TouchFingerEvent &evt) |
virtual bool | touchReleased (const TouchFingerEvent &evt) |
void | windowUpdate () |
virtual void | worldGeometryPrepareStageEnded (void) |
This event is fired when a stage of preparing linked world geometry has been completed. More... | |
virtual void | worldGeometryPrepareStageStarted (const String &description) |
This event is fired when a stage of preparing linked world geometry is about to start. More... | |
void | worldGeometryStageEnded () |
This event is fired when a stage of loading linked world geometry has been completed. More... | |
virtual void | worldGeometryStageStarted (const String &description) |
This event is fired when a stage of loading linked world geometry is about to start. More... | |
void | worldGeometryStageStarted (const Ogre::String &description) |
virtual void | yesNoDialogClosed (const Ogre::DisplayString &question, bool yesHit) |
Static Public Member Functions | |
static Ogre::Vector2 | sceneToScreen (Ogre::Camera *cam, const Ogre::Vector3 &pt) |
Converts a 3D scene position to a 2D screen position (in relative screen size, 0.0-1.0). More... | |
static Ogre::Ray | screenToScene (Ogre::Camera *cam, const Ogre::Vector2 &pt) |
Converts a 2D screen coordinate (in pixels) to a 3D ray into the scene. More... | |
Main class to manage a cursor, backdrop, trays and widgets.
OgreBites::TrayManager::TrayManager | ( | const Ogre::String & | name, |
Ogre::RenderWindow * | window, | ||
TrayListener * | listener = 0 |
||
) |
Creates backdrop, cursor, and trays.
|
virtual |
Destroys background, cursor, widgets, and trays.
|
static |
Converts a 2D screen coordinate (in pixels) to a 3D ray into the scene.
|
static |
Converts a 3D scene position to a 2D screen position (in relative screen size, 0.0-1.0).
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References Ogre::BLANKSTRING.
void OgreBites::TrayManager::showAll | ( | ) |
void OgreBites::TrayManager::hideAll | ( | ) |
void OgreBites::TrayManager::showBackdrop | ( | const Ogre::String & | materialName = Ogre::BLANKSTRING | ) |
Displays specified material on backdrop, or the last material used if none specified.
Good for pause menus like in the browser.
|
inline |
References Ogre::BLANKSTRING.
void OgreBites::TrayManager::showCursor | ( | const Ogre::String & | materialName = Ogre::BLANKSTRING | ) |
Displays specified material on cursor, or the last material used if none specified.
Used to change cursor type.
void OgreBites::TrayManager::hideCursor | ( | ) |
void OgreBites::TrayManager::refreshCursor | ( | ) |
Updates cursor position based on unbuffered mouse state.
This is necessary because if the tray manager has been cut off from mouse events for a time, the cursor position will be out of date.
void OgreBites::TrayManager::showTrays | ( | ) |
void OgreBites::TrayManager::hideTrays | ( | ) |
|
inline |
|
inline |
|
inline |
void OgreBites::TrayManager::setTrayWidgetAlignment | ( | TrayLocation | trayLoc, |
Ogre::GuiHorizontalAlignment | gha | ||
) |
Sets horizontal alignment of a tray's contents.
void OgreBites::TrayManager::setWidgetPadding | ( | Ogre::Real | padding | ) |
void OgreBites::TrayManager::setWidgetSpacing | ( | Ogre::Real | spacing | ) |
void OgreBites::TrayManager::setTrayPadding | ( | Ogre::Real | padding | ) |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Fits trays to their contents and snaps them to their anchor locations.
Ogre::Ray OgreBites::TrayManager::getCursorRay | ( | Ogre::Camera * | cam | ) |
Returns a 3D ray into the scene that is directly underneath the cursor.
Button* OgreBites::TrayManager::createButton | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
const Ogre::String & | caption, | ||
Ogre::Real | width = 0 |
||
) |
TextBox* OgreBites::TrayManager::createTextBox | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
const Ogre::DisplayString & | caption, | ||
Ogre::Real | width, | ||
Ogre::Real | height | ||
) |
SelectMenu* OgreBites::TrayManager::createThickSelectMenu | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
const Ogre::DisplayString & | caption, | ||
Ogre::Real | width, | ||
unsigned int | maxItemsShown, | ||
const Ogre::StringVector & | items = Ogre::StringVector() |
||
) |
SelectMenu* OgreBites::TrayManager::createLongSelectMenu | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
const Ogre::DisplayString & | caption, | ||
Ogre::Real | width, | ||
Ogre::Real | boxWidth, | ||
unsigned int | maxItemsShown, | ||
const Ogre::StringVector & | items = Ogre::StringVector() |
||
) |
SelectMenu* OgreBites::TrayManager::createLongSelectMenu | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
const Ogre::DisplayString & | caption, | ||
Ogre::Real | boxWidth, | ||
unsigned int | maxItemsShown, | ||
const Ogre::StringVector & | items = Ogre::StringVector() |
||
) |
Label* OgreBites::TrayManager::createLabel | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
const Ogre::DisplayString & | caption, | ||
Ogre::Real | width = 0 |
||
) |
Separator* OgreBites::TrayManager::createSeparator | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
Ogre::Real | width = 0 |
||
) |
Slider* OgreBites::TrayManager::createThickSlider | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
const Ogre::DisplayString & | caption, | ||
Ogre::Real | width, | ||
Ogre::Real | valueBoxWidth, | ||
Ogre::Real | minValue, | ||
Ogre::Real | maxValue, | ||
unsigned int | snaps | ||
) |
Slider* OgreBites::TrayManager::createLongSlider | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
const Ogre::DisplayString & | caption, | ||
Ogre::Real | width, | ||
Ogre::Real | trackWidth, | ||
Ogre::Real | valueBoxWidth, | ||
Ogre::Real | minValue, | ||
Ogre::Real | maxValue, | ||
unsigned int | snaps | ||
) |
Slider* OgreBites::TrayManager::createLongSlider | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
const Ogre::DisplayString & | caption, | ||
Ogre::Real | trackWidth, | ||
Ogre::Real | valueBoxWidth, | ||
Ogre::Real | minValue, | ||
Ogre::Real | maxValue, | ||
unsigned int | snaps | ||
) |
ParamsPanel* OgreBites::TrayManager::createParamsPanel | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
Ogre::Real | width, | ||
unsigned int | lines | ||
) |
ParamsPanel* OgreBites::TrayManager::createParamsPanel | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
Ogre::Real | width, | ||
const Ogre::StringVector & | paramNames | ||
) |
CheckBox* OgreBites::TrayManager::createCheckBox | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
const Ogre::DisplayString & | caption, | ||
Ogre::Real | width = 0 |
||
) |
DecorWidget* OgreBites::TrayManager::createDecorWidget | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
const Ogre::String & | templateName | ||
) |
ProgressBar* OgreBites::TrayManager::createProgressBar | ( | TrayLocation | trayLoc, |
const Ogre::String & | name, | ||
const Ogre::DisplayString & | caption, | ||
Ogre::Real | width, | ||
Ogre::Real | commentBoxWidth | ||
) |
void OgreBites::TrayManager::showFrameStats | ( | TrayLocation | trayLoc, |
size_t | place = -1 |
||
) |
Shows frame statistics widget set in the specified location.
void OgreBites::TrayManager::hideFrameStats | ( | ) |
Hides frame statistics widget set.
|
inline |
|
inline |
Toggles visibility of advanced statistics.
void OgreBites::TrayManager::showLogo | ( | TrayLocation | trayLoc, |
size_t | place = -1 |
||
) |
Shows logo in the specified location.
void OgreBites::TrayManager::hideLogo | ( | ) |
|
inline |
void OgreBites::TrayManager::showLoadingBar | ( | unsigned int | numGroupsInit = 1 , |
unsigned int | numGroupsLoad = 1 , |
||
Ogre::Real | initProportion = 0.7 |
||
) |
Shows loading bar.
Also takes job settings: the number of resource groups to be initialised, the number of resource groups to be loaded, and the proportion of the job that will be taken up by initialisation. Usually, script parsing takes up most time, so the default value is 0.7.
void OgreBites::TrayManager::hideLoadingBar | ( | ) |
|
inline |
void OgreBites::TrayManager::showOkDialog | ( | const Ogre::DisplayString & | caption, |
const Ogre::DisplayString & | message | ||
) |
Pops up a message dialog with an OK button.
void OgreBites::TrayManager::showYesNoDialog | ( | const Ogre::DisplayString & | caption, |
const Ogre::DisplayString & | question | ||
) |
Pops up a question dialog with Yes and No buttons.
void OgreBites::TrayManager::closeDialog | ( | ) |
Hides whatever dialog is currently showing.
bool OgreBites::TrayManager::isDialogVisible | ( | ) |
Determines if any dialog is currently visible.
Widget* OgreBites::TrayManager::getWidget | ( | TrayLocation | trayLoc, |
unsigned int | place | ||
) |
Gets a widget from a tray by place.
Widget* OgreBites::TrayManager::getWidget | ( | TrayLocation | trayLoc, |
const Ogre::String & | name | ||
) |
Gets a widget from a tray by name.
Widget* OgreBites::TrayManager::getWidget | ( | const Ogre::String & | name | ) |
Gets a widget by name.
unsigned int OgreBites::TrayManager::getNumWidgets | ( | ) |
Gets the number of widgets in total.
size_t OgreBites::TrayManager::getNumWidgets | ( | TrayLocation | trayLoc | ) |
Gets the number of widgets in a tray.
WidgetIterator OgreBites::TrayManager::getWidgetIterator | ( | TrayLocation | trayLoc | ) |
Gets all the widgets of a specific tray.
|
inline |
Gets all the widgets of a specific tray.
int OgreBites::TrayManager::locateWidgetInTray | ( | Widget * | widget | ) |
Gets a widget's position in its tray.
void OgreBites::TrayManager::destroyWidget | ( | Widget * | widget | ) |
Destroys a widget.
|
inline |
|
inline |
|
inline |
void OgreBites::TrayManager::destroyAllWidgetsInTray | ( | TrayLocation | trayLoc | ) |
Destroys all widgets in a tray.
void OgreBites::TrayManager::destroyAllWidgets | ( | ) |
Destroys all widgets.
void OgreBites::TrayManager::moveWidgetToTray | ( | Widget * | widget, |
TrayLocation | trayLoc, | ||
size_t | place = -1 |
||
) |
Adds a widget to a specified tray at given position, or at the end if unspecified or invalid.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void OgreBites::TrayManager::clearTray | ( | TrayLocation | trayLoc | ) |
Removes all widgets from a widget tray.
void OgreBites::TrayManager::clearAllTrays | ( | ) |
Removes all widgets from all widget trays.
|
virtual |
Process frame events.
Updates frame statistics widget set and deletes all widgets queued for destruction.
Reimplemented from OgreBites::InputListener.
void OgreBites::TrayManager::windowUpdate | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
This event is fired when a declared resource is about to be loaded.
resource | Weak reference to the resource loaded. |
Reimplemented from Ogre::ResourceGroupListener.
References Ogre::Resource::getName().
|
inlinevirtual |
This event is fired when the resource has been loaded.
Reimplemented from Ogre::ResourceGroupListener.
|
inline |
|
inlinevirtual |
This event is fired when a stage of loading linked world geometry has been completed.
The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.
Reimplemented from Ogre::ResourceGroupListener.
|
virtual |
Toggles visibility of advanced statistics.
Reimplemented from OgreBites::TrayListener.
|
virtual |
Destroys dialog widgets, notifies listener, and ends high priority session.
Reimplemented from OgreBites::TrayListener.
|
virtual |
Processes mouse button down events.
Returns true if the event was consumed and should not be passed on to other handlers.
Reimplemented from OgreBites::InputListener.
|
virtual |
Processes mouse button up events.
Returns true if the event was consumed and should not be passed on to other handlers.
Reimplemented from OgreBites::InputListener.
|
virtual |
Updates cursor position.
Returns true if the event was consumed and should not be passed on to other handlers.
Reimplemented from OgreBites::InputListener.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
This event is fired when a resource group begins parsing scripts.
groupName | The name of the group |
scriptCount | The number of scripts which will be parsed |
|
inlinevirtualinherited |
This event is fired when a script is about to be parsed.
scriptName | Name of the to be parsed |
skipThisScript | A boolean passed by reference which is by default set to false. If the event sets this to true, the script will be skipped and not parsed. Note that in this case the scriptParseEnded event will not be raised for this script. |
|
inlinevirtualinherited |
This event is fired when the script has been fully parsed.
|
inlinevirtualinherited |
This event is fired when a resource group finished parsing scripts.
|
inlinevirtualinherited |
This event is fired when a resource group begins preparing.
groupName | The name of the group being prepared |
resourceCount | The number of resources which will be prepared, including a number of stages required to prepare any linked world geometry |
|
inlinevirtualinherited |
This event is fired when a declared resource is about to be prepared.
resource | Weak reference to the resource prepared. |
|
inlinevirtualinherited |
This event is fired when the resource has been prepared.
|
inlinevirtualinherited |
This event is fired when a stage of preparing linked world geometry is about to start.
The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.
description | Text description of what was just prepared |
|
inlinevirtualinherited |
This event is fired when a stage of preparing linked world geometry has been completed.
The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.
|
inlinevirtualinherited |
This event is fired when a resource group finished preparing.
|
inlinevirtualinherited |
This event is fired when a resource group begins loading.
groupName | The name of the group being loaded |
resourceCount | The number of resources which will be loaded, including a number of stages required to load any linked world geometry |
|
inlinevirtualinherited |
This event is fired when a stage of loading linked world geometry is about to start.
The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.
description | Text description of what was just loaded |
|
inlinevirtualinherited |
This event is fired when a resource group finished loading.
|
inlinevirtualinherited |
This event is fired when a resource was just created.
resource | Weak reference to the resource created. |
|
inlinevirtualinherited |
This event is fired when a resource is about to be removed.
resource | Weak reference to the resource removed. |
|
inlinevirtualinherited |
Reimplemented in OgreBites::CameraMan, and OgreBites::AdvancedRenderControls.
|
inlinevirtualinherited |
Reimplemented in OgreBites::CameraMan.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in OgreBites::CameraMan.