Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Ogre::ButtonGuiElement Class Reference

The listener interface for receiving "interesting" mouse events (press, release, click, enter, and exit) on a component. More...

#include <OgreButtonGuiElement.h>

Inheritance diagram for Ogre::ButtonGuiElement:

Inheritance graph
[legend]
Collaboration diagram for Ogre::ButtonGuiElement:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::map< String,
GuiElement * > 
ChildMap
typedef MapIterator< ChildMapChildIterator
typedef std::map< String,
GuiContainer * > 
ChildContainerMap
typedef MapIterator< ChildContainerMapChildContainerIterator

Public Methods

const StringgetTypeName (void) const
 See GuiElement.

void addBaseParameters (void)
 Method for setting up base parameters for this class.

 ButtonGuiElement (const String &name)
 ~ButtonGuiElement ()
void processEvent (InputEvent *e)
 Processes events occurring on this component.

void updateMaterials (bool init=false)
void setDownMaterialName (const String &name)
 Sets the name of the material to use for the button.

const StringgetDownMaterialName (void) const
 Gets the name of the material to use for the button.

void setUpMaterialName (const String &name)
 Sets the name of the material to use for the button.

const StringgetUpMaterialName (void) const
 Gets the name of the material to use for the button.

void setHiliteDownMaterialName (const String &name)
 Sets the name of the material to use for the hilited button.

const StringgetHiliteDownMaterialName (void) const
 Gets the name of the material to use for the hilited button.

void setHiliteUpMaterialName (const String &name)
 Sets the name of the material to use for the hilited button.

const StringgetHiliteUpMaterialName (void) const
 Gets the name of the material to use for the hilited button.

void setDisabledMaterialName (const String &name)
 Sets the name of the material to use for the disabled button.

const StringgetDisabledMaterialName (void) const
 Gets the name of the material to use for the disabled button.

void setCaptionColour (const ColourValue &col)
 Sets the caption colour to use for the disabled button.

ColourValue getCaptionColour (void) const
 Gets the caption colour to use for the disabled button.

void setCaptionDisabledColour (const ColourValue &col)
 Sets the caption colour to use for the disabled button.

ColourValue getCaptionDisabledColour (void) const
 Gets the caption colour to use for the disabled button.

void setButtonCaption (const String &templateName, const String &name)
String getButtonCaption () const
virtual void initialise (void)
 Initialise.

void setTiling (Real x, Real y, ushort layer=0)
 Sets the number of times textures should repeat.

Real getTileX (ushort layer=0) const
Real getTileY (ushort layer=0) const
 Gets the number of times the texture should repeat vertically.

void setTransparent (bool isTransparent)
 Sets whether this panel is transparent (used only as a grouping level), or if it is actually renderred.

bool isTransparent (void) const
 Returns whether this panel is transparent.

void getRenderOperation (RenderOperation &op)
 See Renderable.

void setMaterialName (const String &matName)
 Overridden from GuiElement.

void _updateRenderQueue (RenderQueue *queue)
 Overridden from GuiContainer.

virtual void addChild (GuiElement *elem)
 Adds another GuiElement to this container.

virtual void addChildImpl (GuiElement *elem)
 Adds another GuiElement to this container.

virtual void addChildImpl (GuiContainer *cont)
 Add a nested container to this container.

virtual void removeChild (const String &name)
 Removes a named element from this container.

virtual GuiElementgetChild (const String &name)
 Gets the named child of this container.

virtual ChildIterator getChildIterator (void)
 Gets an object for iterating over all the children of this object.

virtual ChildContainerIterator getChildContainerIterator (void)
 Gets an iterator for just the container children of this object.

virtual void _positionsOutOfDate (void)
 Tell the object and its children to recalculate.

virtual void _update (void)
 Overridden from GuiElement.

virtual void _notifyZOrder (ushort newZOrder)
 Overridden from GuiElement.

virtual void _notifyParent (GuiContainer *parent, Overlay *overlay)
 Overridden from GuiElement.

bool isContainer () const
 Overridden from GuiElement.

virtual bool isChildrenProcessEvents () const
 Should this container pass events to their children.

virtual void setChildrenProcessEvents (bool val)
 Should this container pass events to their children.

virtual GuiElementfindElementAt (Real x, Real y)
 This returns a GuiElement at position x,y.

void copyFromTemplate (GuiElement *templateGui)
const StringgetName (void) const
 Gets the name of this overlay.

virtual void show (void)
 Shows this element if it was hidden.

virtual void hide (void)
 Hides this element if it was visible.

bool isVisible (void) const
 Returns whether or not the element is visible.

bool isEnabled () const
virtual void setEnabled (bool b)
void setDimensions (Real width, Real height)
 Sets the dimensions of this element in relation to the screen (1.0 = screen width/height).

void setPosition (Real left, Real top)
 Sets the position of the top-left corner of the element, relative to the screen size (1.0 = screen width / height).

void setWidth (Real width)
 Sets the width of this element in relation to the screen (where 1.0 = screen width).

Real getWidth (void) const
 Gets the width of this element in relation to the screen (where 1.0 = screen width).

void setHeight (Real height)
 Sets the height of this element in relation to the screen (where 1.0 = screen height).

Real getHeight (void) const
 Gets the height of this element in relation to the screen (where 1.0 = screen height).

void setLeft (Real left)
 Sets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right).

Real getLeft (void) const
 Gets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right).

void setTop (Real Top)
 Sets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom).

Real getTop (void) const
 Gets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom).

virtual const StringgetMaterialName (void) const
 Gets the name of the material this element uses.

MaterialgetMaterial (void) const
 See Renderable.

void getWorldTransforms (Matrix4 *xform) const
 See Renderable.

const QuaterniongetWorldOrientation (void) const
 @copydoc Renderable::getWorldOrientation

const Vector3getWorldPosition (void) const
 @copydoc Renderable::getWorldPosition

bool useIdentityProjection (void) const
 See Renderable.

bool useIdentityView (void) const
 See Renderable.

virtual void _updateFromParent (void)
 Updates this elements transform based on it's parent.

virtual Real _getDerivedLeft (void)
 Gets the 'left' position as derived from own left and that of parents.

virtual Real _getDerivedTop (void)
 Gets the 'top' position as derived from own left and that of parents.

virtual void setCaption (const String &text)
 Sets the caption on elements that support it.

virtual const StringgetCaption (void) const
 Gets the caption for this element.

virtual void setColour (const ColourValue &col)
 Sets the colour on elements that support it.

virtual const ColourValuegetColour (void) const
 Gets the colour for this element.

virtual void setMetricsMode (GuiMetricsMode gmm)
 Tells this element how to interpret the position and dimension values it is given.

virtual GuiMetricsMode getMetricsMode (void) const
 Retrieves the current settings of how the element metrics are interpreted.

virtual void setHorizontalAlignment (GuiHorizontalAlignment gha)
 Sets the horizontal origin for this element.

virtual GuiHorizontalAlignment getHorizontalAlignment (void) const
 Gets the horizontal alignment for this element.

virtual void setVerticalAlignment (GuiVerticalAlignment gva)
 Sets the vertical origin for this element.

virtual GuiVerticalAlignment getVerticalAlignment (void) const
 Gets the vertical alignment for this element.

virtual bool contains (Real x, Real y) const
 Returns true if xy is within the constraints of the component.

virtual bool isKeyEnabled () const
virtual bool isCloneable () const
virtual void setCloneable (bool c)
PositionTargetgetPositionTargetParent ()
 Returns the parent container.

GuiContainergetParent ()
 Returns the parent container.

ushort getZOrder () const
 Returns the zOrder of the element.

Real getSquaredViewDepth (const Camera *cam) const
 Overridden from Renderable.

const LightListgetLights (void) const
 @copydoc Renderable::getLights

ParamDictionarygetParamDictionary (void)
 Retrieves the parameter dictionary for this class.

const ParamDictionarygetParamDictionary (void) const
const ParameterListgetParameters (void) const
 Retrieves a list of parameters valid for this object.

virtual bool setParameter (const String &name, const String &value)
 Generic parameter setting method.

virtual String getParameter (const String &name) const
 Generic parameter retrieval method.

virtual void copyParametersTo (StringInterface *dest) const
 Method for copying this object's parameters to another object.

virtual TechniquegetTechnique (void) const
 Retrieves a pointer to the Material Technique this renderable object uses.

virtual unsigned short getNumWorldTransforms (void) const
 Returns the number of world transform matrices this renderable requires.

virtual SceneDetailLevel getRenderDetail () const
 Returns the preferred rasterisation mode of this renderable.

virtual bool getNormaliseNormals (void) const
 Returns whether or not this Renderable wishes the hardware to normalise normals.

void processMouseEvent (MouseEvent *e)
void addMouseListener (MouseListener *l)
void removeMouseListener (MouseListener *l)
bool isMouseWithin () const
void processMouseMotionEvent (MouseEvent *e)
void addMouseMotionListener (MouseMotionListener *l)
void removeMouseMotionListener (MouseMotionListener *l)
void processActionEvent (ActionEvent *e)
void addActionListener (ActionListener *l)
void removeActionListener (ActionListener *l)
void setSource (GuiElement *source)
const StringgetActionCommand () const
void setActionCommand (const String &action)
bool isPressed () const
virtual void setPressed (bool b)
void mouseClicked (MouseEvent *e)
 Invoked when the mouse has been clicked on a component.

void mouseEntered (MouseEvent *e)
 Invoked when the mouse enters a component.

void mouseExited (MouseEvent *e)
 Invoked when the mouse exits a component.

void mousePressed (MouseEvent *e)
 Invoked when a mouse button has been pressed on a component.

void mouseReleased (MouseEvent *e)
 Invoked when a mouse button has been released on a component.

virtual void mouseDragEntered (MouseEvent *e)
virtual void mouseDragExited (MouseEvent *e)
virtual void mouseDragDropped (MouseEvent *e)
virtual bool isMulticaster () const
 Returns whether or not the listener is a multicaster.


Static Public Attributes

CmdButtonDownMaterial msCmdButtonDownMaterial
CmdButtonUpMaterial msCmdButtonUpMaterial
CmdButtonHiliteDownMaterial msCmdButtonHiliteDownMaterial
CmdButtonHiliteUpMaterial msCmdButtonHiliteUpMaterial
CmdButtonDisabledMaterial msCmdButtonDisabledMaterial
CmdCaptionColour msCmdCaptionColour
CmdCaptionDisabledColour msCmdCaptionDisabledColour
CmdButtonCaption msCmdButtonCaption

Protected Methods

void changeChild (GuiElement *e, Real add)
virtual void updatePositionGeometry (void)
 internal method for setting up geometry, called by GuiElement::update

virtual void updateTextureGeometry (void)
 Called to update the texture coords when layers change.

bool createParamDictionary (const String &className)
 Internal method for creating a parameter dictionary for the class, if it does not already exist.

void fireActionPerformed ()

Protected Attributes

bool mButtonDown
String mDownMaterialName
String mUpMaterialName
String mHiliteDownMaterialName
String mHiliteUpMaterialName
String mDisabledMaterialName
ColourValue mCaptionColour
ColourValue mCaptionDisabledColour
bool mSetCaptionColor
bool mSetCaptionDisabledColor
GuiElementmInsideObject
bool mTransparent
Real mTileX [OGRE_MAX_TEXTURE_LAYERS]
Real mTileY [OGRE_MAX_TEXTURE_LAYERS]
size_t mNumTexCoordsInBuffer
RenderOperation mRenderOp
ChildMap mChildren
ChildContainerMap mChildContainers
bool mChildrenProcessEvents
String mName
bool mVisible
bool mCloneable
Real mLeft
Real mTop
Real mWidth
Real mHeight
String mMaterialName
MaterialmpMaterial
String mCaption
ColourValue mColour
GuiMetricsMode mMetricsMode
GuiHorizontalAlignment mHorzAlign
GuiVerticalAlignment mVertAlign
short mPixelTop
short mPixelLeft
short mPixelWidth
short mPixelHeight
GuiContainermParent
OverlaymOverlay
Real mDerivedLeft
Real mDerivedTop
bool mDerivedOutOfDate
bool mGeomPositionsOutOfDate
 Falg indicating if the vertex positons need recalculating.

ushort mZOrder
bool mEnabled
String mParamDictName
 Class name for this instance to be used as a lookup (must be initialised by subclasses).

MouseListenermMouseListener
bool mMouseWithin
MouseMotionListenermMouseMotionListener
ActionListenermActionListener
String mActionCommand
bool mPressed
GuiElementmSource

Static Protected Attributes

String msTypeName = "Button"
CmdTiling msCmdTiling
CmdTransparent msCmdTransparent
GuiElementCommands::CmdLeft msLeftCmd
GuiElementCommands::CmdTop msTopCmd
GuiElementCommands::CmdWidth msWidthCmd
GuiElementCommands::CmdHeight msHeightCmd
GuiElementCommands::CmdMaterial msMaterialCmd
GuiElementCommands::CmdCaption msCaptionCmd
GuiElementCommands::CmdMetricsMode msMetricsModeCmd
GuiElementCommands::CmdHorizontalAlign msHorizontalAlignCmd
GuiElementCommands::CmdVerticalAlign msVerticalAlignCmd
GuiElementCommands::CmdVisible msVisibleCmd
ParamDictionaryMap msDictionary
 Dictionary of parameters.


Detailed Description

The listener interface for receiving "interesting" mouse events (press, release, click, enter, and exit) on a component.

(To track mouse moves and mouse drags, use the MouseMotionListener.)

The class that is interested in processing a mouse event either implements this interface (and all the methods it contains) or extends the abstract MouseAdapter class (overriding only the methods of interest).

The listener object created from that class is then registered with a component using the component's addMouseListener method. A mouse event is generated when the mouse is pressed, released clicked (pressed and released). A mouse event is also generated when the mouse cursor enters or leaves a component. When a mouse event occurs the relevant method in the listener object is invoked, and the MouseEvent is passed to it.

Definition at line 54 of file OgreButtonGuiElement.h.


Member Typedef Documentation

typedef MapIterator<ChildContainerMap> Ogre::GuiContainer::ChildContainerIterator [inherited]
 

Definition at line 53 of file OgreGuiContainer.h.

Referenced by Ogre::GuiContainer::getChildContainerIterator().

typedef std::map<String, GuiContainer*> Ogre::GuiContainer::ChildContainerMap [inherited]
 

Definition at line 52 of file OgreGuiContainer.h.

typedef MapIterator<ChildMap> Ogre::GuiContainer::ChildIterator [inherited]
 

Definition at line 51 of file OgreGuiContainer.h.

Referenced by Ogre::GuiContainer::_notifyParent(), Ogre::GuiContainer::_notifyZOrder(), Ogre::GuiContainer::_positionsOutOfDate(), Ogre::GuiContainer::_update(), Ogre::PanelGuiElement::_updateRenderQueue(), Ogre::GuiContainer::_updateRenderQueue(), Ogre::GuiContainer::addChildImpl(), Ogre::GuiContainer::getChildIterator(), Ogre::PopupMenuGuiElement::layoutItems(), Ogre::ListGuiElement::layoutItems(), Ogre::ListGuiElement::setSelectedIndex(), updateMaterials(), and Ogre::BorderButtonGuiElement::updateMaterials().

typedef std::map<String, GuiElement*> Ogre::GuiContainer::ChildMap [inherited]
 

Definition at line 50 of file OgreGuiContainer.h.


Constructor & Destructor Documentation

Ogre::ButtonGuiElement::ButtonGuiElement const String   name
 

Definition at line 44 of file OgreButtonGuiElement.cpp.

References addBaseParameters(), Ogre::StringInterface::createParamDictionary(), mButtonDown, Ogre::GuiContainer::mChildrenProcessEvents, mDisabledMaterialName, mDownMaterialName, mHiliteDownMaterialName, mHiliteUpMaterialName, mInsideObject, mSetCaptionColor, mSetCaptionDisabledColor, mUpMaterialName, and Ogre::GuiPressable::setSource().

Ogre::ButtonGuiElement::~ButtonGuiElement  
 

Definition at line 80 of file OgreButtonGuiElement.h.


Member Function Documentation

Real Ogre::GuiElement::_getDerivedLeft void    [virtual, inherited]
 

Gets the 'left' position as derived from own left and that of parents.

Definition at line 387 of file OgreGuiElement.cpp.

References Ogre::GuiElement::_updateFromParent(), Ogre::GuiElement::mDerivedLeft, and Ogre::Real.

Referenced by Ogre::GuiElement::_updateFromParent(), Ogre::TextAreaGuiElement::updateGeometry(), Ogre::PanelGuiElement::updatePositionGeometry(), Ogre::BorderPanelGuiElement::updatePositionGeometry(), and Ogre::TTYGuiElement::updateWindowGeometry().

Real Ogre::GuiElement::_getDerivedTop void    [virtual, inherited]
 

Gets the 'top' position as derived from own left and that of parents.

Definition at line 396 of file OgreGuiElement.cpp.

References Ogre::GuiElement::_updateFromParent(), Ogre::GuiElement::mDerivedTop, and Ogre::Real.

Referenced by Ogre::GuiElement::_updateFromParent(), Ogre::ListGuiElement::mouseDragged(), Ogre::TextAreaGuiElement::updateGeometry(), Ogre::PanelGuiElement::updatePositionGeometry(), Ogre::BorderPanelGuiElement::updatePositionGeometry(), and Ogre::TTYGuiElement::updateWindowGeometry().

void Ogre::GuiContainer::_notifyParent GuiContainer   parent,
Overlay   overlay
[virtual, inherited]
 

Overridden from GuiElement.

Reimplemented from Ogre::GuiElement.

Definition at line 176 of file OgreGuiContainer.cpp.

References Ogre::GuiContainer::ChildIterator, and Ogre::GuiContainer::getChildIterator().

Referenced by Ogre::Overlay::add2D().

void Ogre::GuiContainer::_notifyZOrder ushort    newZOrder [virtual, inherited]
 

Overridden from GuiElement.

Reimplemented from Ogre::GuiElement.

Definition at line 162 of file OgreGuiContainer.cpp.

References Ogre::GuiContainer::ChildIterator, Ogre::GuiContainer::getChildIterator(), and Ogre::ushort.

Referenced by Ogre::Overlay::add2D().

void Ogre::GuiContainer::_positionsOutOfDate void    [virtual, inherited]
 

Tell the object and its children to recalculate.

Reimplemented from Ogre::GuiElement.

Definition at line 135 of file OgreGuiContainer.cpp.

References Ogre::GuiContainer::ChildIterator, and Ogre::GuiContainer::getChildIterator().

void Ogre::GuiContainer::_update void    [virtual, inherited]
 

Overridden from GuiElement.

Reimplemented from Ogre::GuiElement.

Reimplemented in Ogre::BorderPanelGuiElement.

Definition at line 147 of file OgreGuiContainer.cpp.

References Ogre::GuiContainer::ChildIterator, and Ogre::GuiContainer::getChildIterator().

Referenced by Ogre::PopupMenuGuiElement::layoutItems().

void Ogre::GuiElement::_updateFromParent void    [virtual, inherited]
 

Updates this elements transform based on it's parent.

Definition at line 323 of file OgreGuiElement.cpp.

References Ogre::GuiElement::_getDerivedLeft(), Ogre::GuiElement::_getDerivedTop(), Ogre::GuiElement::getHeight(), Ogre::GuiElement::getWidth(), Ogre::GHA_CENTER, Ogre::GHA_LEFT, Ogre::GHA_RIGHT, Ogre::GVA_BOTTOM, Ogre::GVA_CENTER, Ogre::GVA_TOP, Ogre::GuiElement::mDerivedLeft, Ogre::GuiElement::mDerivedOutOfDate, Ogre::GuiElement::mDerivedTop, Ogre::GuiElement::mHorzAlign, Ogre::GuiElement::mLeft, Ogre::GuiElement::mParent, Ogre::GuiElement::mTop, Ogre::GuiElement::mVertAlign, and Ogre::Real.

Referenced by Ogre::GuiElement::_getDerivedLeft(), Ogre::GuiElement::_getDerivedTop(), and Ogre::GuiElement::_update().

void Ogre::PanelGuiElement::_updateRenderQueue RenderQueue   queue [virtual, inherited]
 

Overridden from GuiContainer.

Reimplemented from Ogre::GuiContainer.

Reimplemented in Ogre::BorderPanelGuiElement.

Definition at line 146 of file OgrePanelGuiElement.cpp.

References Ogre::GuiContainer::ChildIterator, Ogre::GuiContainer::getChildIterator(), Ogre::GuiElement::mpMaterial, and Ogre::PanelGuiElement::mTransparent.

void Ogre::ActionTarget::addActionListener ActionListener   l [inherited]
 

Definition at line 61 of file OgreActionTarget.cpp.

References Ogre::ActionTarget::mActionListener.

Referenced by Ogre::ScrollBarGuiElement::setDownButtonName(), and Ogre::ScrollBarGuiElement::setUpButtonName().

void Ogre::ButtonGuiElement::addBaseParameters void    [virtual]
 

Method for setting up base parameters for this class.

Reimplemented from Ogre::PanelGuiElement.

Definition at line 159 of file OgreButtonGuiElement.cpp.

References Ogre::ParamDictionary::addParameter(), Ogre::StringInterface::getParamDictionary(), msCmdCaptionColour, msCmdCaptionDisabledColour, and Ogre::PT_STRING.

Referenced by ButtonGuiElement().

void Ogre::GuiContainer::addChild GuiElement   elem [virtual, inherited]
 

Adds another GuiElement to this container.

Definition at line 46 of file OgreGuiContainer.cpp.

References Ogre::GuiContainer::addChildImpl(), and Ogre::GuiElement::isContainer().

Referenced by Ogre::ListGuiElement::addListItem(), Ogre::PopupMenuGuiElement::addMenuItem(), Ogre::GuiContainer::copyFromTemplate(), Ogre::Profiler::initialize(), Ogre::OverlayManager::parseNewElement(), Ogre::TextBoxGuiElement::setBackPanel(), setButtonCaption(), Ogre::BorderButtonGuiElement::setButtonCaption(), Ogre::ScrollBarGuiElement::setDownButtonName(), Ogre::ListGuiElement::setScrollBarName(), Ogre::ScrollBarGuiElement::setScrollBitName(), Ogre::TextBoxGuiElement::setTextArea(), and Ogre::ScrollBarGuiElement::setUpButtonName().

void Ogre::GuiContainer::addChildImpl GuiContainer   cont [virtual, inherited]
 

Add a nested container to this container.

Definition at line 76 of file OgreGuiContainer.cpp.

References Ogre::GuiElement::_notifyParent(), Ogre::GuiElement::_notifyZOrder(), Ogre::GuiContainer::addChildImpl(), Ogre::GuiContainer::ChildIterator, Ogre::GuiElement::getName(), Ogre::GuiElement::getZOrder(), Ogre::GuiContainer::mChildContainers, Ogre::GuiElement::mOverlay, and Ogre::GuiElement::mZOrder.

void Ogre::GuiContainer::addChildImpl GuiElement   elem [virtual, inherited]
 

Adds another GuiElement to this container.

Definition at line 59 of file OgreGuiContainer.cpp.

References Ogre::GuiElement::_notifyParent(), Ogre::GuiElement::_notifyZOrder(), Except, Ogre::GuiElement::getName(), Ogre::GuiContainer::mChildren, Ogre::GuiElement::mOverlay, and Ogre::GuiElement::mZOrder.

Referenced by Ogre::GuiContainer::addChild(), and Ogre::GuiContainer::addChildImpl().

void Ogre::MouseTarget::addMouseListener MouseListener   l [inherited]
 

Definition at line 86 of file OgreMouseTarget.cpp.

References Ogre::MouseTarget::mMouseListener.

Referenced by Ogre::ListGuiElement::addListItem(), Ogre::ScrollBarGuiElement::setScrollBitName(), and Ogre::GuiPressable::setSource().

void Ogre::MouseMotionTarget::addMouseMotionListener MouseMotionListener   l [inherited]
 

Definition at line 65 of file OgreMouseMotionTarget.cpp.

References Ogre::MouseMotionTarget::mMouseMotionListener.

Referenced by Ogre::InputReader::addCursorMoveListener(), Ogre::ListGuiElement::addListItem(), Ogre::PopupMenuGuiElement::PopupMenuGuiElement(), and Ogre::ScrollBarGuiElement::setScrollBitName().

void Ogre::ButtonGuiElement::changeChild GuiElement   e,
Real    add
[protected]
 

Definition at line 149 of file OgreButtonGuiElement.cpp.

References Ogre::GuiElement::getHeight(), Ogre::GuiElement::getLeft(), Ogre::GuiElement::getTop(), Ogre::GuiElement::getWidth(), Ogre::Real, Ogre::GuiElement::setHeight(), Ogre::GuiElement::setLeft(), Ogre::GuiElement::setTop(), and Ogre::GuiElement::setWidth().

Referenced by updateMaterials().

bool Ogre::GuiElement::contains Real    x,
Real    y
const [virtual, inherited]
 

Returns true if xy is within the constraints of the component.

Definition at line 532 of file OgreGuiElement.cpp.

References Ogre::GuiElement::mDerivedLeft, Ogre::GuiElement::mDerivedTop, Ogre::GuiElement::mHeight, and Ogre::Real.

void Ogre::GuiContainer::copyFromTemplate GuiElement   templateGui [inherited]
 

Reimplemented from Ogre::GuiElement.

Definition at line 244 of file OgreGuiContainer.cpp.

References Ogre::GuiContainer::addChild(), Ogre::StringInterface::copyParametersTo(), Ogre::GuiElement::getName(), Ogre::GuiElement::getTypeName(), Ogre::GuiElement::isCloneable(), Ogre::GuiContainer::isContainer(), Ogre::GuiElement::isContainer(), and Ogre::GuiElement::mName.

virtual void Ogre::StringInterface::copyParametersTo StringInterface   dest const [virtual, inherited]
 

Method for copying this object's parameters to another object.

Remarks:
This method takes the values of all the object's parameters and tries to set the same values on the destination object. This provides a completely type independent way to copy parameters to other objects. Note that because of the String manipulation involved, this should not be regarded as an efficient process and should be saved for times outside of the rendering loop.

Any unrecognised parameters will be ignored as with setParameter method.

Parameters:
dest  Pointer to object to have it's parameters set the same as this object.

Definition at line 293 of file OgreStringInterface.h.

References Ogre::ParamDictionary::mParamDefs, and Ogre::StringInterface::setParameter().

Referenced by Ogre::GuiElement::copyFromTemplate(), Ogre::GuiContainer::copyFromTemplate(), and Ogre::ParticleSystem::operator=().

bool Ogre::StringInterface::createParamDictionary const String   className [protected, inherited]
 

Internal method for creating a parameter dictionary for the class, if it does not already exist.

Remarks:
This method will check to see if a parameter dictionary exist for this class yet, and if not will create one. NB you must supply the name of the class (RTTI is not used or performance).
Parameters:
className  the name of the class using the dictionary
Returns:
true if a new dictionary was created, false if it was already there

Definition at line 169 of file OgreStringInterface.h.

Referenced by Ogre::BorderButtonGuiElement::BorderButtonGuiElement(), Ogre::BorderPanelGuiElement::BorderPanelGuiElement(), ButtonGuiElement(), Ogre::CgProgram::CgProgram(), Ogre::ColourFaderAffector::ColourFaderAffector(), Ogre::ColourFaderAffector2::ColourFaderAffector2(), Ogre::ColourImageAffector::ColourImageAffector(), Ogre::ColourInterpolatorAffector::ColourInterpolatorAffector(), Ogre::CursorGuiElement::CursorGuiElement(), Ogre::D3D9HLSLProgram::D3D9HLSLProgram(), Ogre::AreaEmitter::initDefaults(), Ogre::ParticleSystem::initParameters(), Ogre::LinearForceAffector::LinearForceAffector(), Ogre::ListGuiElement::ListGuiElement(), Ogre::PanelGuiElement::PanelGuiElement(), Ogre::PointEmitter::PointEmitter(), Ogre::PopupMenuGuiElement::PopupMenuGuiElement(), Ogre::RotationAffector::RotationAffector(), Ogre::ScaleAffector::ScaleAffector(), Ogre::ScrollBarGuiElement::ScrollBarGuiElement(), Ogre::TextAreaGuiElement::TextAreaGuiElement(), Ogre::TextBoxGuiElement::TextBoxGuiElement(), and Ogre::TTYGuiElement::TTYGuiElement().

GuiElement * Ogre::GuiContainer::findElementAt Real    x,
Real    y
[virtual, inherited]
 

This returns a GuiElement at position x,y.

Reimplemented from Ogre::GuiElement.

Reimplemented in Ogre::CursorGuiElement.

Definition at line 209 of file OgreGuiContainer.cpp.

References Ogre::GuiElement::findElementAt(), Ogre::GuiElement::getZOrder(), Ogre::GuiElement::isEnabled(), Ogre::GuiElement::isVisible(), and Ogre::Real.

Referenced by Ogre::ListGuiElement::mouseDragged().

void Ogre::GuiPressable::fireActionPerformed   [protected, inherited]
 

Definition at line 73 of file OgreGuiPressable.cpp.

References Ogre::GuiPressable::getActionCommand(), Ogre::GuiPressable::mSource, and Ogre::GuiElement::processEvent().

Referenced by Ogre::GuiPressable::mouseClicked(), and Ogre::PopupMenuGuiElement::mouseReleased().

const String & Ogre::GuiPressable::getActionCommand   const [inherited]
 

Definition at line 49 of file OgreGuiPressable.cpp.

References Ogre::GuiPressable::mActionCommand.

Referenced by Ogre::GuiPressable::fireActionPerformed().

String Ogre::ButtonGuiElement::getButtonCaption   const
 

Definition at line 282 of file OgreButtonGuiElement.cpp.

References Ogre::GuiElement::getCaption(), and mInsideObject.

const String & Ogre::GuiElement::getCaption void    const [virtual, inherited]
 

Gets the caption for this element.

Reimplemented in Ogre::TextAreaGuiElement, Ogre::TextBoxGuiElement, and Ogre::TTYGuiElement.

Definition at line 471 of file OgreGuiElement.cpp.

References Ogre::GuiElement::mCaption.

Referenced by getButtonCaption(), Ogre::BorderButtonGuiElement::getButtonCaption(), Ogre::ListGuiElement::getSelectedIndex(), Ogre::ListGuiElement::getSelectedItem(), and Ogre::PopupMenuGuiElement::mouseReleased().

ColourValue Ogre::ButtonGuiElement::getCaptionColour void    const
 

Gets the caption colour to use for the disabled button.

Definition at line 314 of file OgreButtonGuiElement.cpp.

References mCaptionColour.

Referenced by Ogre::ButtonGuiElement::CmdCaptionColour::doGet().

ColourValue Ogre::ButtonGuiElement::getCaptionDisabledColour void    const
 

Gets the caption colour to use for the disabled button.

Definition at line 319 of file OgreButtonGuiElement.cpp.

References mCaptionDisabledColour.

Referenced by Ogre::ButtonGuiElement::CmdCaptionDisabledColour::doGet().

GuiElement * Ogre::GuiContainer::getChild const String   name [virtual, inherited]
 

Gets the named child of this container.

Definition at line 112 of file OgreGuiContainer.cpp.

References Except, and Ogre::GuiContainer::mChildren.

Referenced by Ogre::ListGuiElement::removeListItem(), Ogre::PopupMenuGuiElement::removeMenuItem(), and Ogre::ListGuiElement::setSelectedItem().

GuiContainer::ChildContainerIterator Ogre::GuiContainer::getChildContainerIterator void    [virtual, inherited]
 

Gets an iterator for just the container children of this object.

Remarks:
Good for cascading updates without having to use RTTI

Definition at line 129 of file OgreGuiContainer.cpp.

References Ogre::GuiContainer::ChildContainerIterator, and Ogre::GuiContainer::mChildContainers.

GuiContainer::ChildIterator Ogre::GuiContainer::getChildIterator void    [virtual, inherited]
 

Gets an object for iterating over all the children of this object.

Definition at line 124 of file OgreGuiContainer.cpp.

References Ogre::GuiContainer::ChildIterator, and Ogre::GuiContainer::mChildren.

Referenced by Ogre::GuiContainer::_notifyParent(), Ogre::GuiContainer::_notifyZOrder(), Ogre::GuiContainer::_positionsOutOfDate(), Ogre::GuiContainer::_update(), Ogre::PanelGuiElement::_updateRenderQueue(), Ogre::GuiContainer::_updateRenderQueue(), Ogre::PopupMenuGuiElement::layoutItems(), Ogre::ListGuiElement::layoutItems(), Ogre::ListGuiElement::mouseDragged(), Ogre::ListGuiElement::mousePressed(), Ogre::ListGuiElement::setSelectedIndex(), updateMaterials(), and Ogre::BorderButtonGuiElement::updateMaterials().

const ColourValue & Ogre::GuiElement::getColour void    const [virtual, inherited]
 

Gets the colour for this element.

Reimplemented in Ogre::TextAreaGuiElement, and Ogre::TTYGuiElement.

Definition at line 481 of file OgreGuiElement.cpp.

References Ogre::GuiElement::mColour.

const String & Ogre::ButtonGuiElement::getDisabledMaterialName void    const
 

Gets the name of the material to use for the disabled button.

Definition at line 309 of file OgreButtonGuiElement.cpp.

References mDisabledMaterialName.

const String & Ogre::ButtonGuiElement::getDownMaterialName void    const
 

Gets the name of the material to use for the button.

Definition at line 288 of file OgreButtonGuiElement.cpp.

References mDownMaterialName.

Real Ogre::GuiElement::getHeight void    const [inherited]
 

Gets the height of this element in relation to the screen (where 1.0 = screen height).

Definition at line 173 of file OgreGuiElement.cpp.

References Ogre::GMM_PIXELS, Ogre::GuiElement::mHeight, Ogre::GuiElement::mMetricsMode, Ogre::GuiElement::mPixelHeight, and Ogre::Real.

Referenced by Ogre::GuiElement::_updateFromParent(), Ogre::ListGuiElement::addListItem(), Ogre::PopupMenuGuiElement::addMenuItem(), changeChild(), Ogre::BorderButtonGuiElement::changeChild(), Ogre::ScrollBarGuiElement::layoutItems(), Ogre::PopupMenuGuiElement::layoutItems(), Ogre::ListGuiElement::layoutItems(), Ogre::ListGuiElement::mouseDragged(), Ogre::ScrollBarGuiElement::mousePressed(), Ogre::ScrollBarGuiElement::moveScrollBitTo(), Ogre::TextBoxGuiElement::setBackPanel(), Ogre::ListGuiElement::setScrollBarName(), and Ogre::ScrollBarGuiElement::updateScrollBit().

const String & Ogre::ButtonGuiElement::getHiliteDownMaterialName void    const
 

Gets the name of the material to use for the hilited button.

Definition at line 299 of file OgreButtonGuiElement.cpp.

References mHiliteDownMaterialName.

const String & Ogre::ButtonGuiElement::getHiliteUpMaterialName void    const
 

Gets the name of the material to use for the hilited button.

Definition at line 304 of file OgreButtonGuiElement.cpp.

References mHiliteUpMaterialName.

GuiHorizontalAlignment Ogre::GuiElement::getHorizontalAlignment void    const [virtual, inherited]
 

Gets the horizontal alignment for this element.

Definition at line 513 of file OgreGuiElement.cpp.

References Ogre::GuiHorizontalAlignment, and Ogre::GuiElement::mHorzAlign.

Real Ogre::GuiElement::getLeft void    const [virtual, inherited]
 

Gets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right).

Implements Ogre::PositionTarget.

Definition at line 199 of file OgreGuiElement.cpp.

References Ogre::GMM_PIXELS, Ogre::GuiElement::mLeft, Ogre::GuiElement::mMetricsMode, Ogre::GuiElement::mPixelLeft, and Ogre::Real.

Referenced by changeChild(), and Ogre::BorderButtonGuiElement::changeChild().

const LightList& Ogre::GuiElement::getLights void    const [virtual, inherited]
 

@copydoc Renderable::getLights

Implements Ogre::Renderable.

Definition at line 419 of file OgreGuiElement.h.

References Ogre::LightList.

Material * Ogre::GuiElement::getMaterial void    const [virtual, inherited]
 

See Renderable.

Implements Ogre::Renderable.

Definition at line 258 of file OgreGuiElement.cpp.

References Ogre::GuiElement::mpMaterial.

const String & Ogre::GuiElement::getMaterialName void    const [virtual, inherited]
 

Gets the name of the material this element uses.

Definition at line 238 of file OgreGuiElement.cpp.

References Ogre::GuiElement::mMaterialName.

GuiMetricsMode Ogre::GuiElement::getMetricsMode void    const [virtual, inherited]
 

Retrieves the current settings of how the element metrics are interpreted.

Definition at line 502 of file OgreGuiElement.cpp.

References Ogre::GuiMetricsMode, and Ogre::GuiElement::mMetricsMode.

const String & Ogre::GuiElement::getName void    const [inherited]
 

Gets the name of this overlay.

Definition at line 82 of file OgreGuiElement.cpp.

References Ogre::GuiElement::mName.

Referenced by Ogre::ScrollBarGuiElement::actionPerformed(), Ogre::GuiContainer::addChildImpl(), Ogre::GuiContainer::copyFromTemplate(), Ogre::GuiManager::destroyGuiElement(), Ogre::TTYGuiElement::CmdScrollBar::doGet(), Ogre::ListGuiElement::getScrollBarName(), Ogre::ListGuiElement::layoutItems(), Ogre::PopupMenuGuiElement::mouseReleased(), Ogre::OverlayManager::parseChildren(), Ogre::OverlayManager::parseElementAttrib(), Ogre::TextBoxGuiElement::setBackPanel(), setButtonCaption(), Ogre::BorderButtonGuiElement::setButtonCaption(), Ogre::ListGuiElement::setScrollBarName(), Ogre::ListGuiElement::setSelectedIndex(), and Ogre::TextBoxGuiElement::setTextArea().

virtual bool Ogre::Renderable::getNormaliseNormals void    const [virtual, inherited]
 

Returns whether or not this Renderable wishes the hardware to normalise normals.

Reimplemented in Ogre::SubEntity.

Definition at line 132 of file OgreRenderable.h.

Referenced by Ogre::SceneManager::renderSingleObject().

virtual unsigned short Ogre::Renderable::getNumWorldTransforms void    const [virtual, inherited]
 

Returns the number of world transform matrices this renderable requires.

Remarks:
When a renderable uses vertex blending, it uses multiple world matrices instead of a single one. Each vertex sent to the pipeline can reference one or more matrices in this list with given weights. If a renderable does not use vertex blending this method returns 1, which is the default for simplicity.

Reimplemented in Ogre::SubEntity, and Ogre::BorderRenderable.

Definition at line 98 of file OgreRenderable.h.

Referenced by Ogre::SceneManager::renderSingleObject().

const ParamDictionary* Ogre::StringInterface::getParamDictionary void    const [inherited]
 

Definition at line 206 of file OgreStringInterface.h.

ParamDictionary* Ogre::StringInterface::getParamDictionary void    [inherited]
 

Retrieves the parameter dictionary for this class.

Remarks:
Only valid to call this after createParamDictionary.
Returns:
Pointer to ParamDictionary shared by all instances of this class which you can add parameters to, retrieve parameters etc.

Definition at line 193 of file OgreStringInterface.h.

Referenced by Ogre::TTYGuiElement::addBaseParameters(), Ogre::TextBoxGuiElement::addBaseParameters(), Ogre::TextAreaGuiElement::addBaseParameters(), Ogre::ScrollBarGuiElement::addBaseParameters(), Ogre::PopupMenuGuiElement::addBaseParameters(), Ogre::ParticleEmitter::addBaseParameters(), Ogre::PanelGuiElement::addBaseParameters(), Ogre::ListGuiElement::addBaseParameters(), Ogre::GuiElement::addBaseParameters(), Ogre::CursorGuiElement::addBaseParameters(), addBaseParameters(), Ogre::BorderPanelGuiElement::addBaseParameters(), Ogre::BorderButtonGuiElement::addBaseParameters(), Ogre::CgProgram::CgProgram(), Ogre::ColourFaderAffector::ColourFaderAffector(), Ogre::ColourFaderAffector2::ColourFaderAffector2(), Ogre::ColourImageAffector::ColourImageAffector(), Ogre::ColourInterpolatorAffector::ColourInterpolatorAffector(), Ogre::D3D9HLSLProgram::D3D9HLSLProgram(), Ogre::HollowEllipsoidEmitter::HollowEllipsoidEmitter(), Ogre::AreaEmitter::initDefaults(), Ogre::ParticleSystem::initParameters(), Ogre::LinearForceAffector::LinearForceAffector(), Ogre::RingEmitter::RingEmitter(), Ogre::RotationAffector::RotationAffector(), Ogre::ScaleAffector::ScaleAffector(), and Ogre::StringInterface::setParameter().

virtual String Ogre::StringInterface::getParameter const String   name const [virtual, inherited]
 

Generic parameter retrieval method.

Remarks:
Call this method with the name of a parameter to retrieve a string-format value of the parameter in question. If in doubt, check the parameter definition in the list returned from getParameters for the type of this parameter. If you like you can use StringConverter to convert this string back into a native type.
Parameters:
name  The name of the parameter to get
Returns:
String value of parameter, blank if not found

Definition at line 262 of file OgreStringInterface.h.

References Ogre::ParamCommand::doGet(), and Ogre::ParamDictionary::getParamCommand().

const ParameterList& Ogre::StringInterface::getParameters void    const [inherited]
 

Retrieves a list of parameters valid for this object.

Returns:
A reference to a static list of ParameterDef objects.

Definition at line 224 of file OgreStringInterface.h.

References Ogre::ParamDictionary::getParameters(), and Ogre::ParameterList.

GuiContainer * Ogre::GuiElement::getParent   [inherited]
 

Returns the parent container.

Definition at line 585 of file OgreGuiElement.cpp.

References Ogre::GuiElement::mParent.

Referenced by Ogre::ListGuiElement::mouseDragged(), Ogre::PopupMenuGuiElement::setSelectedItem(), and Ogre::ListGuiElement::setSelectedItem().

PositionTarget * Ogre::GuiElement::getPositionTargetParent   [virtual, inherited]
 

Returns the parent container.

Implements Ogre::PositionTarget.

Definition at line 580 of file OgreGuiElement.cpp.

virtual SceneDetailLevel Ogre::Renderable::getRenderDetail   const [virtual, inherited]
 

Returns the preferred rasterisation mode of this renderable.

Reimplemented in Ogre::SubEntity.

Definition at line 129 of file OgreRenderable.h.

References Ogre::SceneDetailLevel, and Ogre::SDL_SOLID.

Referenced by Ogre::SceneManager::renderSingleObject().

void Ogre::PanelGuiElement::getRenderOperation RenderOperation   op [virtual, inherited]
 

See Renderable.

Implements Ogre::Renderable.

Definition at line 135 of file OgrePanelGuiElement.cpp.

References Ogre::PanelGuiElement::mRenderOp.

Real Ogre::GuiElement::getSquaredViewDepth const Camera   cam const [virtual, inherited]
 

Overridden from Renderable.

Implements Ogre::Renderable.

Definition at line 413 of file OgreGuiElement.h.

References Ogre::Real.

Referenced by Ogre::BorderRenderable::getSquaredViewDepth().

virtual Technique* Ogre::Renderable::getTechnique void    const [virtual, inherited]
 

Retrieves a pointer to the Material Technique this renderable object uses.

Remarks:
This is to allow Renderables to use a chosen Technique if they wish, otherwise they will use the best Technique available for the Material they are using.

Reimplemented in Ogre::SubEntity.

Definition at line 63 of file OgreRenderable.h.

References Ogre::Material::getBestTechnique().

Referenced by Ogre::RenderPriorityGroup::addRenderable().

Real Ogre::PanelGuiElement::getTileX ushort    layer = 0 const [inherited]
 

Definition at line 110 of file OgrePanelGuiElement.cpp.

References Ogre::PanelGuiElement::mTileX, Ogre::Real, and Ogre::ushort.

Referenced by Ogre::PanelGuiElement::CmdTiling::doGet().

Real Ogre::PanelGuiElement::getTileY ushort    layer = 0 const [inherited]
 

Gets the number of times the texture should repeat vertically.

Parameters:
layer  The texture layer to specify (only needs to be altered if you're using a multi-texture layer material)

Definition at line 115 of file OgrePanelGuiElement.cpp.

References Ogre::PanelGuiElement::mTileY, Ogre::Real, and Ogre::ushort.

Referenced by Ogre::PanelGuiElement::CmdTiling::doGet().

Real Ogre::GuiElement::getTop void    const [virtual, inherited]
 

Gets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom).

Implements Ogre::PositionTarget.

Definition at line 226 of file OgreGuiElement.cpp.

References Ogre::GMM_PIXELS, Ogre::GuiElement::mMetricsMode, Ogre::GuiElement::mPixelTop, Ogre::GuiElement::mTop, and Ogre::Real.

Referenced by changeChild(), Ogre::BorderButtonGuiElement::changeChild(), Ogre::ScrollBarGuiElement::mouseDragged(), Ogre::ScrollBarGuiElement::mousePressed(), and Ogre::ScrollBarGuiElement::moveScrollBitTo().

const String & Ogre::ButtonGuiElement::getTypeName void    const [virtual]
 

See GuiElement.

Reimplemented from Ogre::PanelGuiElement.

Definition at line 436 of file OgreButtonGuiElement.cpp.

References msTypeName.

const String & Ogre::ButtonGuiElement::getUpMaterialName void    const
 

Gets the name of the material to use for the button.

Definition at line 293 of file OgreButtonGuiElement.cpp.

References mUpMaterialName.

GuiVerticalAlignment Ogre::GuiElement::getVerticalAlignment void    const [virtual, inherited]
 

Gets the vertical alignment for this element.

Definition at line 524 of file OgreGuiElement.cpp.

References Ogre::GuiVerticalAlignment, and Ogre::GuiElement::mVertAlign.

Real Ogre::GuiElement::getWidth void    const [inherited]
 

Gets the width of this element in relation to the screen (where 1.0 = screen width).

Definition at line 148 of file OgreGuiElement.cpp.

References Ogre::GMM_PIXELS, Ogre::GuiElement::mMetricsMode, Ogre::GuiElement::mPixelWidth, Ogre::GuiElement::mWidth, and Ogre::Real.

Referenced by Ogre::GuiElement::_updateFromParent(), Ogre::ListGuiElement::addListItem(), Ogre::PopupMenuGuiElement::addMenuItem(), changeChild(), Ogre::BorderButtonGuiElement::changeChild(), Ogre::ScrollBarGuiElement::layoutItems(), Ogre::ScrollBarGuiElement::mousePressed(), Ogre::ScrollBarGuiElement::moveScrollBitTo(), Ogre::TextBoxGuiElement::processEvent(), Ogre::TextBoxGuiElement::setBackPanel(), Ogre::ScrollBarGuiElement::setDownButtonName(), Ogre::ListGuiElement::setScrollBarName(), Ogre::ScrollBarGuiElement::setScrollBitName(), Ogre::ScrollBarGuiElement::setUpButtonName(), Ogre::TextAreaGuiElement::updateGeometry(), and Ogre::ScrollBarGuiElement::updateScrollBit().

const Quaternion & Ogre::GuiElement::getWorldOrientation void    const [virtual, inherited]
 

@copydoc Renderable::getWorldOrientation

Implements Ogre::Renderable.

Definition at line 268 of file OgreGuiElement.cpp.

References Ogre::Overlay::getWorldOrientation(), and Ogre::GuiElement::mOverlay.

const Vector3 & Ogre::GuiElement::getWorldPosition void    const [virtual, inherited]
 

@copydoc Renderable::getWorldPosition

Implements Ogre::Renderable.

Definition at line 273 of file OgreGuiElement.cpp.

References Ogre::Overlay::getWorldPosition(), and Ogre::GuiElement::mOverlay.

void Ogre::GuiElement::getWorldTransforms Matrix4   xform const [virtual, inherited]
 

See Renderable.

Implements Ogre::Renderable.

Definition at line 263 of file OgreGuiElement.cpp.

References Ogre::Overlay::_getWorldTransforms(), and Ogre::GuiElement::mOverlay.

Referenced by Ogre::BorderRenderable::getWorldTransforms().

ushort Ogre::GuiElement::getZOrder   const [inherited]
 

Returns the zOrder of the element.

Definition at line 409 of file OgreGuiElement.h.

References Ogre::ushort.

Referenced by Ogre::GuiContainer::addChildImpl(), Ogre::Overlay::findElementAt(), and Ogre::GuiContainer::findElementAt().

void Ogre::GuiElement::hide void    [virtual, inherited]
 

Hides this element if it was visible.

Reimplemented in Ogre::CursorGuiElement.

Definition at line 92 of file OgreGuiElement.cpp.

References Ogre::GuiElement::mVisible.

Referenced by Ogre::Profiler::createPanel(), Ogre::Profiler::createTextArea(), Ogre::ListGuiElement::layoutItems(), and Ogre::OverlayManager::setCursorGui().

void Ogre::PanelGuiElement::initialise void    [virtual, inherited]
 

Initialise.

Implements Ogre::GuiElement.

Reimplemented in Ogre::BorderPanelGuiElement.

Definition at line 71 of file OgrePanelGuiElement.cpp.

References Ogre::VertexDeclaration::addElement(), Ogre::VertexDeclaration::getVertexSize(), Ogre::PanelGuiElement::mRenderOp, Ogre::RenderOperation::operationType, POSITION_BINDING, Ogre::VertexBufferBinding::setBinding(), Ogre::RenderOperation::useIndexes, Ogre::VertexData::vertexBufferBinding, Ogre::VertexData::vertexCount, Ogre::RenderOperation::vertexData, Ogre::VertexData::vertexDeclaration, Ogre::VertexData::vertexStart, Ogre::VES_POSITION, and Ogre::VET_FLOAT3.

virtual bool Ogre::GuiContainer::isChildrenProcessEvents   const [virtual, inherited]
 

Should this container pass events to their children.

Definition at line 107 of file OgreGuiContainer.h.

virtual bool Ogre::GuiElement::isCloneable   const [virtual, inherited]
 

Definition at line 390 of file OgreGuiElement.h.

Referenced by Ogre::GuiContainer::copyFromTemplate().

bool Ogre::GuiContainer::isContainer   const [virtual, inherited]
 

Overridden from GuiElement.

Reimplemented from Ogre::GuiElement.

Definition at line 103 of file OgreGuiContainer.h.

Referenced by Ogre::GuiContainer::copyFromTemplate().

bool Ogre::GuiElement::isEnabled   const [inherited]
 

Definition at line 597 of file OgreGuiElement.cpp.

References Ogre::GuiElement::mEnabled.

Referenced by Ogre::GuiContainer::findElementAt(), and updateMaterials().

virtual bool Ogre::GuiElement::isKeyEnabled   const [virtual, inherited]
 

Implements Ogre::PositionTarget.

Reimplemented in Ogre::TextBoxGuiElement.

Definition at line 387 of file OgreGuiElement.h.

bool Ogre::MouseTarget::isMouseWithin   const [inherited]
 

Definition at line 105 of file OgreMouseTarget.cpp.

References Ogre::MouseTarget::mMouseWithin.

Referenced by updateMaterials(), and Ogre::BorderButtonGuiElement::updateMaterials().

virtual bool Ogre::EventListener::isMulticaster   const [virtual, inherited]
 

Returns whether or not the listener is a multicaster.

Reimplemented in Ogre::EventMulticaster.

Definition at line 65 of file OgreEventListeners.h.

Referenced by Ogre::EventMulticaster::convertListenerToMulti(), and Ogre::EventMulticaster::removeInternal().

bool Ogre::GuiPressable::isPressed   const [inherited]
 

Definition at line 61 of file OgreGuiPressable.cpp.

References Ogre::GuiPressable::mPressed.

Referenced by Ogre::PopupMenuGuiElement::mouseMoved(), updateMaterials(), and Ogre::BorderButtonGuiElement::updateMaterials().

bool Ogre::PanelGuiElement::isTransparent void    const [inherited]
 

Returns whether this panel is transparent.

Definition at line 125 of file OgrePanelGuiElement.cpp.

References Ogre::PanelGuiElement::mTransparent.

Referenced by Ogre::PanelGuiElement::CmdTransparent::doGet(), and Ogre::PanelGuiElement::setTransparent().

bool Ogre::GuiElement::isVisible void    const [inherited]
 

Returns whether or not the element is visible.

Definition at line 97 of file OgreGuiElement.cpp.

References Ogre::GuiElement::mVisible.

Referenced by Ogre::GuiContainer::findElementAt().

void Ogre::GuiPressable::mouseClicked MouseEvent   e [virtual, inherited]
 

Invoked when the mouse has been clicked on a component.

Implements Ogre::MouseListener.

Definition at line 81 of file OgreGuiPressable.cpp.

References Ogre::GuiPressable::fireActionPerformed().

virtual void Ogre::MouseListener::mouseDragDropped MouseEvent   e [virtual, inherited]
 

Definition at line 104 of file OgreEventListeners.h.

Referenced by Ogre::MouseTarget::processMouseEvent().

virtual void Ogre::MouseListener::mouseDragEntered MouseEvent   e [virtual, inherited]
 

Definition at line 102 of file OgreEventListeners.h.

Referenced by Ogre::MouseTarget::processMouseEvent().

virtual void Ogre::MouseListener::mouseDragExited MouseEvent   e [virtual, inherited]
 

Definition at line 103 of file OgreEventListeners.h.

Referenced by Ogre::MouseTarget::processMouseEvent().

void Ogre::GuiPressable::mouseEntered MouseEvent   e [virtual, inherited]
 

Invoked when the mouse enters a component.

Implements Ogre::MouseListener.

Definition at line 85 of file OgreGuiPressable.cpp.

void Ogre::GuiPressable::mouseExited MouseEvent   e [virtual, inherited]
 

Invoked when the mouse exits a component.

Implements Ogre::MouseListener.

Definition at line 88 of file OgreGuiPressable.cpp.

void Ogre::GuiPressable::mousePressed MouseEvent   e [virtual, inherited]
 

Invoked when a mouse button has been pressed on a component.

Implements Ogre::MouseListener.

Definition at line 91 of file OgreGuiPressable.cpp.

References Ogre::GuiPressable::setPressed().

void Ogre::GuiPressable::mouseReleased MouseEvent   e [virtual, inherited]
 

Invoked when a mouse button has been released on a component.

Implements Ogre::MouseListener.

Definition at line 95 of file OgreGuiPressable.cpp.

References Ogre::GuiPressable::setPressed().

void Ogre::ActionTarget::processActionEvent ActionEvent   e [inherited]
 

Definition at line 45 of file OgreActionTarget.cpp.

References Ogre::ActionListener::actionPerformed(), Ogre::InputEvent::getID(), and Ogre::ActionTarget::mActionListener.

Referenced by Ogre::GuiElement::processEvent(), and Ogre::GuiControl::processEvent().

void Ogre::ButtonGuiElement::processEvent InputEvent   e [virtual]
 

Processes events occurring on this component.

By default this method calls the appropriate process event method

Reimplemented from Ogre::GuiElement.

Definition at line 70 of file OgreButtonGuiElement.cpp.

References updateMaterials().

void Ogre::MouseTarget::processMouseEvent MouseEvent   e [inherited]
 

Definition at line 46 of file OgreMouseTarget.cpp.

References Ogre::InputEvent::getID(), Ogre::MouseTarget::mMouseListener, Ogre::MouseTarget::mMouseWithin, Ogre::MouseListener::mouseClicked(), Ogre::MouseListener::mouseDragDropped(), Ogre::MouseListener::mouseDragEntered(), Ogre::MouseListener::mouseDragExited(), Ogre::MouseListener::mouseEntered(), Ogre::MouseListener::mouseExited(), Ogre::MouseListener::mousePressed(), and Ogre::MouseListener::mouseReleased().

Referenced by Ogre::GuiElement::processEvent(), Ogre::EventProcessor::processEvent(), and Ogre::Cursor::processEvent().

void Ogre::MouseMotionTarget::processMouseMotionEvent MouseEvent   e [inherited]
 

Definition at line 44 of file OgreMouseMotionTarget.cpp.

References Ogre::InputEvent::getID(), Ogre::MouseMotionTarget::mMouseMotionListener, Ogre::MouseMotionListener::mouseDragged(), Ogre::MouseMotionListener::mouseDragMoved(), and Ogre::MouseMotionListener::mouseMoved().

Referenced by Ogre::GuiElement::processEvent(), Ogre::EventProcessor::processEvent(), and Ogre::Cursor::processEvent().

void Ogre::ActionTarget::removeActionListener ActionListener   l [inherited]
 

Definition at line 71 of file OgreActionTarget.cpp.

References Ogre::ActionTarget::mActionListener.

void Ogre::GuiContainer::removeChild const String   name [virtual, inherited]
 

Removes a named element from this container.

Definition at line 99 of file OgreGuiContainer.cpp.

References Except, and Ogre::GuiContainer::mChildren.

Referenced by Ogre::ListGuiElement::removeListItem(), Ogre::PopupMenuGuiElement::removeMenuItem(), Ogre::TextBoxGuiElement::setBackPanel(), setButtonCaption(), Ogre::BorderButtonGuiElement::setButtonCaption(), Ogre::ListGuiElement::setScrollBarName(), and Ogre::TextBoxGuiElement::setTextArea().

void Ogre::MouseTarget::removeMouseListener MouseListener   l [inherited]
 

Definition at line 95 of file OgreMouseTarget.cpp.

References Ogre::MouseTarget::mMouseListener.

void Ogre::MouseMotionTarget::removeMouseMotionListener MouseMotionListener   l [inherited]
 

Definition at line 74 of file OgreMouseMotionTarget.cpp.

References Ogre::MouseMotionTarget::mMouseMotionListener.

Referenced by Ogre::InputReader::removeCursorMoveListener().

void Ogre::GuiPressable::setActionCommand const String   action [inherited]
 

Definition at line 55 of file OgreGuiPressable.cpp.

References Ogre::GuiPressable::mActionCommand.

Referenced by Ogre::PopupMenuGuiElement::mouseReleased().

void Ogre::ButtonGuiElement::setButtonCaption const String   templateName,
const String   name
 

Definition at line 249 of file OgreButtonGuiElement.cpp.

References Ogre::GuiContainer::addChild(), Ogre::GuiElement::getName(), mInsideObject, Ogre::GuiElement::mName, Ogre::GuiContainer::removeChild(), Ogre::GuiElement::setCaption(), Ogre::GuiElement::setCloneable(), and updateMaterials().

void Ogre::GuiElement::setCaption const String   text [virtual, inherited]
 

Sets the caption on elements that support it.

Remarks:
This property doesn't do something on all elements, just those that support it. However, being a common requirement it is in the top-level interface to avoid having to set it via the StringInterface all the time.

Reimplemented in Ogre::TextAreaGuiElement, Ogre::TextBoxGuiElement, and Ogre::TTYGuiElement.

Definition at line 465 of file OgreGuiElement.cpp.

References Ogre::GuiElement::_positionsOutOfDate(), and Ogre::GuiElement::mCaption.

Referenced by Ogre::ListGuiElement::addListItem(), Ogre::PopupMenuGuiElement::addMenuItem(), Ogre::Profiler::createTextArea(), Ogre::Profiler::displayResults(), setButtonCaption(), and Ogre::BorderButtonGuiElement::setButtonCaption().

void Ogre::ButtonGuiElement::setCaptionColour const ColourValue   col
 

Sets the caption colour to use for the disabled button.

Definition at line 234 of file OgreButtonGuiElement.cpp.

References mCaptionColour, mSetCaptionColor, and updateMaterials().

void Ogre::ButtonGuiElement::setCaptionDisabledColour const ColourValue   col
 

Sets the caption colour to use for the disabled button.

Definition at line 241 of file OgreButtonGuiElement.cpp.

References mCaptionDisabledColour, mSetCaptionDisabledColor, and updateMaterials().

virtual void Ogre::GuiContainer::setChildrenProcessEvents bool    val [virtual, inherited]
 

Should this container pass events to their children.

Definition at line 111 of file OgreGuiContainer.h.

Referenced by Ogre::ListGuiElement::addListItem().

virtual void Ogre::GuiElement::setCloneable bool    c [virtual, inherited]
 

Definition at line 393 of file OgreGuiElement.h.

Referenced by Ogre::TextBoxGuiElement::setBackPanel(), setButtonCaption(), Ogre::BorderButtonGuiElement::setButtonCaption(), Ogre::ScrollBarGuiElement::setDownButtonName(), Ogre::ScrollBarGuiElement::setScrollBitName(), Ogre::TextBoxGuiElement::setTextArea(), and Ogre::ScrollBarGuiElement::setUpButtonName().

void Ogre::GuiElement::setColour const ColourValue   col [virtual, inherited]
 

Sets the colour on elements that support it.

Remarks:
This property doesn't do something on all elements, just those that support it. However, being a common requirement it is in the top-level interface to avoid having to set it via the StringInterface all the time.

Reimplemented in Ogre::TextAreaGuiElement, and Ogre::TTYGuiElement.

Definition at line 476 of file OgreGuiElement.cpp.

References Ogre::GuiElement::mColour.

Referenced by updateMaterials().

void Ogre::GuiElement::setDimensions Real    width,
Real    height
[inherited]
 

Sets the dimensions of this element in relation to the screen (1.0 = screen width/height).

Definition at line 102 of file OgreGuiElement.cpp.

References Ogre::GuiElement::_positionsOutOfDate(), Ogre::GMM_PIXELS, Ogre::GuiElement::mDerivedOutOfDate, Ogre::GuiElement::mHeight, Ogre::GuiElement::mMetricsMode, Ogre::GuiElement::mPixelHeight, Ogre::GuiElement::mPixelWidth, Ogre::GuiElement::mWidth, and Ogre::Real.

Referenced by Ogre::TextBoxGuiElement::setBackPanel().

void Ogre::ButtonGuiElement::setDisabledMaterialName const String   name
 

Sets the name of the material to use for the disabled button.

Definition at line 229 of file OgreButtonGuiElement.cpp.

References mDisabledMaterialName.

void Ogre::ButtonGuiElement::setDownMaterialName const String   name
 

Sets the name of the material to use for the button.

Definition at line 206 of file OgreButtonGuiElement.cpp.

References mDownMaterialName.

void Ogre::GuiElement::setEnabled bool    b [virtual, inherited]
 

Definition at line 603 of file OgreGuiElement.cpp.

References Ogre::GuiElement::mEnabled.

void Ogre::GuiElement::setHeight Real    height [inherited]
 

Sets the height of this element in relation to the screen (where 1.0 = screen height).

Definition at line 160 of file OgreGuiElement.cpp.

References Ogre::GuiElement::_positionsOutOfDate(), Ogre::GMM_PIXELS, Ogre::GuiElement::mHeight, Ogre::GuiElement::mMetricsMode, Ogre::GuiElement::mPixelHeight, and Ogre::Real.

Referenced by Ogre::ListGuiElement::addListItem(), Ogre::PopupMenuGuiElement::addMenuItem(), changeChild(), Ogre::BorderButtonGuiElement::changeChild(), Ogre::Profiler::createContainer(), Ogre::Profiler::createPanel(), Ogre::Profiler::createTextArea(), Ogre::CursorGuiElement::CursorGuiElement(), Ogre::Profiler::displayResults(), Ogre::ScrollBarGuiElement::layoutItems(), Ogre::PopupMenuGuiElement::layoutItems(), and Ogre::ListGuiElement::setScrollBarName().

void Ogre::ButtonGuiElement::setHiliteDownMaterialName const String   name
 

Sets the name of the material to use for the hilited button.

Definition at line 219 of file OgreButtonGuiElement.cpp.

References mHiliteDownMaterialName.

void Ogre::ButtonGuiElement::setHiliteUpMaterialName const String   name
 

Sets the name of the material to use for the hilited button.

Definition at line 224 of file OgreButtonGuiElement.cpp.

References mHiliteUpMaterialName.

void Ogre::GuiElement::setHorizontalAlignment GuiHorizontalAlignment    gha [virtual, inherited]
 

Sets the horizontal origin for this element.

Remarks:
By default, the horizontal origin for a GuiElement is the left edge of the parent container (or the screen if this is a root element). You can alter this by calling this method, which is especially useful when you want to use pixel-based metrics (see setMetricsMode) since in this mode you can't use relative positioning.

For example, if you were using GMM_PIXELS metrics mode, and you wanted to place a 30x30 pixel crosshair in the center of the screen, you would use GHA_CENTER with a 'left' property of -15.

Note that neither GHA_CENTER or GHA_RIGHT alter the position of the element based on it's width, you have to alter the 'left' to a negative number to do that; all this does is establish the origin. This is because this way you can align multiple things in the center and right with different 'left' offsets for maximum flexibility.

Definition at line 507 of file OgreGuiElement.cpp.

References Ogre::GuiElement::_positionsOutOfDate(), Ogre::GuiHorizontalAlignment, and Ogre::GuiElement::mHorzAlign.

void Ogre::GuiElement::setLeft Real    left [inherited]
 

Sets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right).

Definition at line 185 of file OgreGuiElement.cpp.

References Ogre::GuiElement::_positionsOutOfDate(), Ogre::GMM_PIXELS, Ogre::GuiElement::mDerivedOutOfDate, Ogre::GuiElement::mLeft, Ogre::GuiElement::mMetricsMode, Ogre::GuiElement::mPixelLeft, and Ogre::Real.

Referenced by Ogre::ListGuiElement::addListItem(), Ogre::PopupMenuGuiElement::addMenuItem(), changeChild(), Ogre::BorderButtonGuiElement::changeChild(), Ogre::Profiler::createContainer(), Ogre::Profiler::createPanel(), Ogre::Profiler::createTextArea(), Ogre::Profiler::displayResults(), Ogre::ScrollBarGuiElement::layoutItems(), Ogre::CursorGuiElement::mouseMoved(), Ogre::TextBoxGuiElement::setBackPanel(), Ogre::CursorGuiElement::setOffsetX(), Ogre::ListGuiElement::setScrollBarName(), Ogre::TextBoxGuiElement::setTextArea(), and Ogre::CursorGuiElement::show().

void Ogre::PanelGuiElement::setMaterialName const String   matName [virtual, inherited]
 

Overridden from GuiElement.

Reimplemented from Ogre::GuiElement.

Definition at line 140 of file OgrePanelGuiElement.cpp.

References Ogre::PanelGuiElement::updateTextureGeometry().

void Ogre::GuiElement::setMetricsMode GuiMetricsMode    gmm [virtual, inherited]
 

Tells this element how to interpret the position and dimension values it is given.

Remarks:
By default, GuiElements are positioned and sized according to relative dimensions of the screen. This is to ensure portability between different resolutions when you want things to be positioned and sized the same way across all resolutions. However, sometimes you want things to be sized according to fixed pixels. In order to do this, you can call this method with the parameter GMM_PIXELS. Note that if you then want to place your element relative to the center, right or bottom of it's parent, you will need to use the setHorizontalAlignment and setVerticalAlignment methods.

Reimplemented in Ogre::BorderPanelGuiElement, Ogre::TextAreaGuiElement, and Ogre::TTYGuiElement.

Definition at line 486 of file OgreGuiElement.cpp.

References Ogre::GuiElement::_positionsOutOfDate(), Ogre::GMM_PIXELS, Ogre::GuiMetricsMode, Ogre::GuiElement::mDerivedOutOfDate, Ogre::GuiElement::mHeight, Ogre::GuiElement::mLeft, Ogre::GuiElement::mMetricsMode, Ogre::GuiElement::mPixelHeight, Ogre::GuiElement::mPixelLeft, Ogre::GuiElement::mPixelTop, Ogre::GuiElement::mPixelWidth, Ogre::GuiElement::mTop, and Ogre::GuiElement::mWidth.

Referenced by Ogre::Profiler::createContainer(), Ogre::Profiler::createPanel(), Ogre::Profiler::createTextArea(), and Ogre::Profiler::displayResults().

bool Ogre::StringInterface::setParameter const String   name,
const String   value
[virtual, inherited]
 

Generic parameter setting method.

Remarks:
Call this method with the name of a parameter and a string version of the value to set. The implementor will convert the string to a native type internally. If in doubt, check the parameter definition in the list returned from StringInterface::getParameters.
Parameters:
name  The name of the parameter to set
value  String value. Must be in the right format for the type specified in the parameter definition. See the StringConverter class for more information.
Returns:
true if set was successful, false otherwise (NB no exceptions thrown - tolerant method)

Definition at line 33 of file OgreStringInterface.cpp.

References Ogre::ParamCommand::doSet(), Ogre::ParamDictionary::getParamCommand(), and Ogre::StringInterface::getParamDictionary().

Referenced by Ogre::StringInterface::copyParametersTo(), Ogre::Profiler::createContainer(), Ogre::Profiler::createTextArea(), Ogre::MaterialSerializer::finishProgramDefinition(), Ogre::ParticleSystemManager::parseAffectorAttrib(), Ogre::ParticleSystemManager::parseAttrib(), Ogre::OverlayManager::parseElementAttrib(), and Ogre::ParticleSystemManager::parseEmitterAttrib().

void Ogre::GuiElement::setPosition Real    left,
Real    top
[inherited]
 

Sets the position of the top-left corner of the element, relative to the screen size (1.0 = screen width / height).

Definition at line 118 of file OgreGuiElement.cpp.

References Ogre::GuiElement::_positionsOutOfDate(), Ogre::GMM_PIXELS, Ogre::GuiElement::mDerivedOutOfDate, Ogre::GuiElement::mLeft, Ogre::GuiElement::mMetricsMode, Ogre::GuiElement::mPixelLeft, Ogre::GuiElement::mPixelTop, Ogre::GuiElement::mTop, and Ogre::Real.

void Ogre::GuiPressable::setPressed bool    b [virtual, inherited]
 

Definition at line 67 of file OgreGuiPressable.cpp.

References Ogre::GuiPressable::mPressed.

Referenced by Ogre::GuiPressable::mousePressed(), Ogre::GuiPressable::mouseReleased(), Ogre::BorderButtonGuiElement::setBorderUpMaterialName(), and setUpMaterialName().

void Ogre::GuiPressable::setSource GuiElement   source [inherited]
 

Definition at line 40 of file OgreGuiPressable.cpp.

References Ogre::MouseTarget::addMouseListener(), and Ogre::GuiPressable::mSource.

Referenced by Ogre::BorderButtonGuiElement::BorderButtonGuiElement(), ButtonGuiElement(), and Ogre::PopupMenuGuiElement::PopupMenuGuiElement().

void Ogre::PanelGuiElement::setTiling Real    x,
Real    y,
ushort    layer = 0
[inherited]
 

Sets the number of times textures should repeat.

Parameters:
x  The number of times the texture should repeat horizontally
y  The number of times the texture should repeat vertically
layer  The texture layer to specify (only needs to be altered if you're using a multi-texture layer material)

Definition at line 98 of file OgrePanelGuiElement.cpp.

References Ogre::PanelGuiElement::mTileX, Ogre::PanelGuiElement::mTileY, OGRE_MAX_TEXTURE_COORD_SETS, Ogre::Real, Ogre::PanelGuiElement::updateTextureGeometry(), and Ogre::ushort.

void Ogre::GuiElement::setTop Real    Top [inherited]
 

Sets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom).

Definition at line 211 of file OgreGuiElement.cpp.

References Ogre::GuiElement::_positionsOutOfDate(), Ogre::GMM_PIXELS, Ogre::GuiElement::mDerivedOutOfDate, Ogre::GuiElement::mMetricsMode, Ogre::GuiElement::mPixelTop, Ogre::GuiElement::mTop, and Ogre::Real.

Referenced by Ogre::ListGuiElement::addListItem(), Ogre::PopupMenuGuiElement::addMenuItem(), changeChild(), Ogre::BorderButtonGuiElement::changeChild(), Ogre::Profiler::createContainer(), Ogre::Profiler::createPanel(), Ogre::Profiler::createTextArea(), Ogre::Profiler::displayResults(), Ogre::ScrollBarGuiElement::layoutItems(), Ogre::PopupMenuGuiElement::layoutItems(), Ogre::ListGuiElement::layoutItems(), Ogre::CursorGuiElement::mouseMoved(), Ogre::ScrollBarGuiElement::moveScrollBitTo(), Ogre::TextBoxGuiElement::setBackPanel(), Ogre::CursorGuiElement::setOffsetY(), Ogre::ListGuiElement::setScrollBarName(), Ogre::TextBoxGuiElement::setTextArea(), Ogre::CursorGuiElement::show(), and Ogre::ScrollBarGuiElement::updateScrollBit().

void Ogre::PanelGuiElement::setTransparent bool    isTransparent [inherited]
 

Sets whether this panel is transparent (used only as a grouping level), or if it is actually renderred.

Definition at line 120 of file OgrePanelGuiElement.cpp.

References Ogre::PanelGuiElement::isTransparent(), and Ogre::PanelGuiElement::mTransparent.

Referenced by Ogre::TextBoxGuiElement::TextBoxGuiElement().

void Ogre::ButtonGuiElement::setUpMaterialName const String   name
 

Sets the name of the material to use for the button.

Definition at line 211 of file OgreButtonGuiElement.cpp.

References mUpMaterialName, Ogre::GuiPressable::setPressed(), and updateMaterials().

void Ogre::GuiElement::setVerticalAlignment GuiVerticalAlignment    gva [virtual, inherited]
 

Sets the vertical origin for this element.

Remarks:
By default, the vertical origin for a GuiElement is the top edge of the parent container (or the screen if this is a root element). You can alter this by calling this method, which is especially useful when you want to use pixel-based metrics (see setMetricsMode) since in this mode you can't use relative positioning.

For example, if you were using GMM_PIXELS metrics mode, and you wanted to place a 30x30 pixel crosshair in the center of the screen, you would use GHA_CENTER with a 'top' property of -15.

Note that neither GVA_CENTER or GVA_BOTTOM alter the position of the element based on it's height, you have to alter the 'top' to a negative number to do that; all this does is establish the origin. This is because this way you can align multiple things in the center and bottom with different 'top' offsets for maximum flexibility.

Definition at line 518 of file OgreGuiElement.cpp.

References Ogre::GuiElement::_positionsOutOfDate(), Ogre::GuiVerticalAlignment, and Ogre::GuiElement::mVertAlign.

void Ogre::GuiElement::setWidth Real    width [inherited]
 

Sets the width of this element in relation to the screen (where 1.0 = screen width).

Definition at line 135 of file OgreGuiElement.cpp.

References Ogre::GuiElement::_positionsOutOfDate(), Ogre::GMM_PIXELS, Ogre::GuiElement::mMetricsMode, Ogre::GuiElement::mPixelWidth, Ogre::GuiElement::mWidth, and Ogre::Real.

Referenced by Ogre::ListGuiElement::addListItem(), Ogre::PopupMenuGuiElement::addMenuItem(), changeChild(), Ogre::BorderButtonGuiElement::changeChild(), Ogre::Profiler::createContainer(), Ogre::Profiler::createPanel(), Ogre::Profiler::createTextArea(), Ogre::CursorGuiElement::CursorGuiElement(), Ogre::Profiler::displayResults(), Ogre::ScrollBarGuiElement::layoutItems(), Ogre::TextBoxGuiElement::setBackPanel(), and Ogre::TextAreaGuiElement::updateGeometry().

void Ogre::GuiElement::show void    [virtual, inherited]
 

Shows this element if it was hidden.

Reimplemented in Ogre::CursorGuiElement.

Definition at line 87 of file OgreGuiElement.cpp.

References Ogre::GuiElement::mVisible.

Referenced by Ogre::OverlayManager::createCursorOverlay(), Ogre::Profiler::createPanel(), Ogre::Profiler::createTextArea(), Ogre::Profiler::displayResults(), Ogre::ListGuiElement::layoutItems(), and Ogre::OverlayManager::setCursorGui().

void Ogre::ButtonGuiElement::updateMaterials bool    init = false
 

Definition at line 78 of file OgreButtonGuiElement.cpp.

References changeChild(), Ogre::GuiContainer::ChildIterator, Ogre::GuiContainer::getChildIterator(), Ogre::GMM_PIXELS, Ogre::GuiElement::isEnabled(), Ogre::MouseTarget::isMouseWithin(), Ogre::GuiPressable::isPressed(), mButtonDown, mCaptionColour, mCaptionDisabledColour, mDisabledMaterialName, mDownMaterialName, mHiliteDownMaterialName, mHiliteUpMaterialName, mInsideObject, Ogre::GuiElement::mMetricsMode, mSetCaptionColor, mUpMaterialName, and Ogre::GuiElement::setColour().

Referenced by processEvent(), setButtonCaption(), setCaptionColour(), setCaptionDisabledColour(), and setUpMaterialName().

void Ogre::PanelGuiElement::updatePositionGeometry void    [protected, virtual, inherited]
 

internal method for setting up geometry, called by GuiElement::update

Implements Ogre::GuiElement.

Reimplemented in Ogre::BorderPanelGuiElement.

Definition at line 166 of file OgrePanelGuiElement.cpp.

References Ogre::GuiElement::_getDerivedLeft(), Ogre::GuiElement::_getDerivedTop(), Ogre::VertexBufferBinding::getBuffer(), Ogre::GuiElement::mHeight, Ogre::PanelGuiElement::mRenderOp, Ogre::GuiElement::mWidth, POSITION_BINDING, Ogre::Real, Ogre::VertexData::vertexBufferBinding, and Ogre::RenderOperation::vertexData.

void Ogre::PanelGuiElement::updateTextureGeometry void    [protected, virtual, inherited]
 

Called to update the texture coords when layers change.

Definition at line 214 of file OgrePanelGuiElement.cpp.

References Ogre::VertexDeclaration::addElement(), Ogre::VertexBufferBinding::getBuffer(), Ogre::Pass::getNumTextureUnitStates(), Ogre::Technique::getPass(), Ogre::Material::getTechnique(), Ogre::VertexDeclaration::getVertexSize(), Ogre::PanelGuiElement::mNumTexCoordsInBuffer, Ogre::GuiElement::mpMaterial, Ogre::PanelGuiElement::mRenderOp, Ogre::PanelGuiElement::mTileX, Ogre::PanelGuiElement::mTileY, Ogre::Real, Ogre::VertexDeclaration::removeElement(), Ogre::VertexBufferBinding::setBinding(), TEXCOORD_BINDING, Ogre::ushort, Ogre::VertexData::vertexBufferBinding, Ogre::VertexData::vertexCount, Ogre::RenderOperation::vertexData, Ogre::VertexData::vertexDeclaration, Ogre::VES_TEXTURE_COORDINATES, and Ogre::VET_FLOAT2.

Referenced by Ogre::PanelGuiElement::setMaterialName(), and Ogre::PanelGuiElement::setTiling().

bool Ogre::GuiElement::useIdentityProjection void    const [virtual, inherited]
 

See Renderable.

Reimplemented from Ogre::Renderable.

Definition at line 278 of file OgreGuiElement.cpp.

bool Ogre::GuiElement::useIdentityView void    const [virtual, inherited]
 

See Renderable.

Reimplemented from Ogre::Renderable.

Definition at line 283 of file OgreGuiElement.cpp.


Member Data Documentation

String Ogre::GuiPressable::mActionCommand [protected, inherited]
 

Definition at line 57 of file OgreGuiPressable.h.

Referenced by Ogre::GuiPressable::getActionCommand(), Ogre::GuiPressable::GuiPressable(), and Ogre::GuiPressable::setActionCommand().

ActionListener* Ogre::ActionTarget::mActionListener [protected, inherited]
 

Definition at line 58 of file OgreActionTarget.h.

Referenced by Ogre::ActionTarget::ActionTarget(), Ogre::ActionTarget::addActionListener(), Ogre::ActionTarget::processActionEvent(), and Ogre::ActionTarget::removeActionListener().

bool Ogre::ButtonGuiElement::mButtonDown [protected]
 

Reimplemented from Ogre::GuiPressable.

Definition at line 57 of file OgreButtonGuiElement.h.

Referenced by ButtonGuiElement(), and updateMaterials().

String Ogre::GuiElement::mCaption [protected, inherited]
 

Definition at line 120 of file OgreGuiElement.h.

Referenced by Ogre::TTYGuiElement::getCaption(), Ogre::TextBoxGuiElement::getCaption(), Ogre::TextAreaGuiElement::getCaption(), Ogre::GuiElement::getCaption(), Ogre::TextBoxGuiElement::getTextAreaName(), Ogre::TextBoxGuiElement::processEvent(), Ogre::TextBoxGuiElement::setCaption(), Ogre::TextAreaGuiElement::setCaption(), Ogre::GuiElement::setCaption(), Ogre::TextBoxGuiElement::setCaptionToTextArea(), Ogre::TextBoxGuiElement::setTextArea(), and Ogre::TextAreaGuiElement::updateGeometry().

ColourValue Ogre::ButtonGuiElement::mCaptionColour [protected]
 

Definition at line 65 of file OgreButtonGuiElement.h.

Referenced by getCaptionColour(), setCaptionColour(), and updateMaterials().

ColourValue Ogre::ButtonGuiElement::mCaptionDisabledColour [protected]
 

Definition at line 66 of file OgreButtonGuiElement.h.

Referenced by getCaptionDisabledColour(), setCaptionDisabledColour(), and updateMaterials().

ChildContainerMap Ogre::GuiContainer::mChildContainers [protected, inherited]
 

Definition at line 58 of file OgreGuiContainer.h.

Referenced by Ogre::GuiContainer::addChildImpl(), and Ogre::GuiContainer::getChildContainerIterator().

ChildMap Ogre::GuiContainer::mChildren [protected, inherited]
 

Definition at line 56 of file OgreGuiContainer.h.

Referenced by Ogre::GuiContainer::addChildImpl(), Ogre::GuiContainer::getChild(), Ogre::GuiContainer::getChildIterator(), Ogre::ListGuiElement::layoutItems(), and Ogre::GuiContainer::removeChild().

bool Ogre::GuiContainer::mChildrenProcessEvents [protected, inherited]
 

Definition at line 60 of file OgreGuiContainer.h.

Referenced by Ogre::BorderButtonGuiElement::BorderButtonGuiElement(), ButtonGuiElement(), Ogre::PopupMenuGuiElement::PopupMenuGuiElement(), and Ogre::TextBoxGuiElement::TextBoxGuiElement().

bool Ogre::GuiElement::mCloneable [protected, inherited]
 

Definition at line 113 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::GuiElement().

ColourValue Ogre::GuiElement::mColour [protected, inherited]
 

Definition at line 121 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::getColour(), and Ogre::GuiElement::setColour().

Real Ogre::GuiElement::mDerivedLeft [protected, inherited]
 

Definition at line 139 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_getDerivedLeft(), Ogre::GuiElement::_updateFromParent(), and Ogre::GuiElement::contains().

bool Ogre::GuiElement::mDerivedOutOfDate [protected, inherited]
 

Definition at line 141 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_notifyParent(), Ogre::GuiElement::_updateFromParent(), Ogre::GuiElement::GuiElement(), Ogre::GuiElement::setDimensions(), Ogre::GuiElement::setLeft(), Ogre::GuiElement::setMetricsMode(), Ogre::GuiElement::setPosition(), and Ogre::GuiElement::setTop().

Real Ogre::GuiElement::mDerivedTop [protected, inherited]
 

Definition at line 140 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_getDerivedTop(), Ogre::GuiElement::_updateFromParent(), Ogre::GuiElement::contains(), and Ogre::ScrollBarGuiElement::mousePressed().

String Ogre::ButtonGuiElement::mDisabledMaterialName [protected]
 

Definition at line 63 of file OgreButtonGuiElement.h.

Referenced by ButtonGuiElement(), getDisabledMaterialName(), setDisabledMaterialName(), and updateMaterials().

String Ogre::ButtonGuiElement::mDownMaterialName [protected]
 

Definition at line 59 of file OgreButtonGuiElement.h.

Referenced by ButtonGuiElement(), getDownMaterialName(), setDownMaterialName(), and updateMaterials().

bool Ogre::GuiElement::mEnabled [protected, inherited]
 

Definition at line 152 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::GuiElement(), Ogre::GuiElement::isEnabled(), Ogre::GuiElement::processEvent(), and Ogre::GuiElement::setEnabled().

bool Ogre::GuiElement::mGeomPositionsOutOfDate [protected, inherited]
 

Falg indicating if the vertex positons need recalculating.

Definition at line 144 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_positionsOutOfDate(), Ogre::TTYGuiElement::_update(), Ogre::TextAreaGuiElement::_update(), Ogre::GuiElement::_update(), Ogre::BorderPanelGuiElement::_update(), Ogre::GuiElement::GuiElement(), Ogre::BorderPanelGuiElement::setBorderSize(), Ogre::TTYGuiElement::setCharHeight(), Ogre::TextAreaGuiElement::setCharHeight(), Ogre::TTYGuiElement::setSpaceWidth(), and Ogre::TextAreaGuiElement::setSpaceWidth().

Real Ogre::GuiElement::mHeight [protected, inherited]
 

Definition at line 117 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_update(), Ogre::TTYGuiElement::checkAndSetUpdateGeometry(), Ogre::GuiElement::contains(), Ogre::GuiElement::getHeight(), Ogre::GuiElement::GuiElement(), Ogre::ListGuiElement::layoutItems(), Ogre::GuiElement::setDimensions(), Ogre::GuiElement::setHeight(), Ogre::GuiElement::setMetricsMode(), Ogre::TTYGuiElement::TTYGuiElement(), Ogre::TTYGuiElement::updatePositionGeometry(), Ogre::PanelGuiElement::updatePositionGeometry(), and Ogre::BorderPanelGuiElement::updatePositionGeometry().

String Ogre::ButtonGuiElement::mHiliteDownMaterialName [protected]
 

Definition at line 61 of file OgreButtonGuiElement.h.

Referenced by ButtonGuiElement(), getHiliteDownMaterialName(), setHiliteDownMaterialName(), and updateMaterials().

String Ogre::ButtonGuiElement::mHiliteUpMaterialName [protected]
 

Definition at line 62 of file OgreButtonGuiElement.h.

Referenced by ButtonGuiElement(), getHiliteUpMaterialName(), setHiliteUpMaterialName(), and updateMaterials().

GuiHorizontalAlignment Ogre::GuiElement::mHorzAlign [protected, inherited]
 

Definition at line 124 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_updateFromParent(), Ogre::GuiElement::getHorizontalAlignment(), Ogre::GuiElement::GuiElement(), and Ogre::GuiElement::setHorizontalAlignment().

GuiElement* Ogre::ButtonGuiElement::mInsideObject [protected]
 

Definition at line 71 of file OgreButtonGuiElement.h.

Referenced by ButtonGuiElement(), getButtonCaption(), setButtonCaption(), and updateMaterials().

Real Ogre::GuiElement::mLeft [protected, inherited]
 

Definition at line 114 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_update(), Ogre::GuiElement::_updateFromParent(), Ogre::GuiElement::getLeft(), Ogre::GuiElement::GuiElement(), Ogre::GuiElement::setLeft(), Ogre::GuiElement::setMetricsMode(), Ogre::CursorGuiElement::setOffsetX(), and Ogre::GuiElement::setPosition().

String Ogre::GuiElement::mMaterialName [protected, inherited]
 

Definition at line 118 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::getMaterialName(), Ogre::GuiElement::setMaterialName(), Ogre::PopupMenuGuiElement::setSelectedItem(), and Ogre::ListGuiElement::setSelectedItem().

GuiMetricsMode Ogre::GuiElement::mMetricsMode [protected, inherited]
 

Definition at line 123 of file OgreGuiElement.h.

Referenced by Ogre::TTYGuiElement::_update(), Ogre::TextAreaGuiElement::_update(), Ogre::GuiElement::_update(), Ogre::BorderPanelGuiElement::_update(), Ogre::BorderPanelGuiElement::getBottomBorderSize(), Ogre::TTYGuiElement::getCharHeight(), Ogre::TextAreaGuiElement::getCharHeight(), Ogre::GuiElement::getHeight(), Ogre::GuiElement::getLeft(), Ogre::BorderPanelGuiElement::getLeftBorderSize(), Ogre::GuiElement::getMetricsMode(), Ogre::BorderPanelGuiElement::getRightBorderSize(), Ogre::TTYGuiElement::getSpaceWidth(), Ogre::TextAreaGuiElement::getSpaceWidth(), Ogre::GuiElement::getTop(), Ogre::BorderPanelGuiElement::getTopBorderSize(), Ogre::GuiElement::getWidth(), Ogre::GuiElement::GuiElement(), Ogre::BorderPanelGuiElement::setBorderSize(), Ogre::TTYGuiElement::setCharHeight(), Ogre::TextAreaGuiElement::setCharHeight(), Ogre::GuiElement::setDimensions(), Ogre::GuiElement::setHeight(), Ogre::GuiElement::setLeft(), Ogre::GuiElement::setMetricsMode(), Ogre::GuiElement::setPosition(), Ogre::TTYGuiElement::setSpaceWidth(), Ogre::TextAreaGuiElement::setSpaceWidth(), Ogre::GuiElement::setTop(), Ogre::GuiElement::setWidth(), Ogre::TextAreaGuiElement::updateGeometry(), updateMaterials(), and Ogre::BorderButtonGuiElement::updateMaterials().

MouseListener* Ogre::MouseTarget::mMouseListener [protected, inherited]
 

Definition at line 60 of file OgreMouseTarget.h.

Referenced by Ogre::MouseTarget::addMouseListener(), Ogre::GuiElement::GuiElement(), Ogre::MouseTarget::MouseTarget(), Ogre::MouseTarget::processMouseEvent(), and Ogre::MouseTarget::removeMouseListener().

MouseMotionListener* Ogre::MouseMotionTarget::mMouseMotionListener [protected, inherited]
 

Definition at line 59 of file OgreMouseMotionTarget.h.

Referenced by Ogre::MouseMotionTarget::addMouseMotionListener(), Ogre::MouseMotionTarget::MouseMotionTarget(), Ogre::MouseMotionTarget::processMouseMotionEvent(), and Ogre::MouseMotionTarget::removeMouseMotionListener().

bool Ogre::MouseTarget::mMouseWithin [protected, inherited]
 

Definition at line 63 of file OgreMouseTarget.h.

Referenced by Ogre::MouseTarget::isMouseWithin(), Ogre::MouseTarget::MouseTarget(), and Ogre::MouseTarget::processMouseEvent().

String Ogre::GuiElement::mName [protected, inherited]
 

Definition at line 111 of file OgreGuiElement.h.

Referenced by Ogre::GuiContainer::copyFromTemplate(), Ogre::PopupMenuGuiElement::getListItemName(), Ogre::ListGuiElement::getListItemName(), Ogre::GuiElement::getName(), Ogre::ListGuiElement::layoutItems(), Ogre::TextBoxGuiElement::setBackPanel(), setButtonCaption(), Ogre::BorderButtonGuiElement::setButtonCaption(), Ogre::ScrollBarGuiElement::setDownButtonName(), Ogre::ListGuiElement::setScrollBarName(), Ogre::ScrollBarGuiElement::setScrollBitName(), Ogre::ListGuiElement::setSelectedIndex(), Ogre::TextBoxGuiElement::setTextArea(), and Ogre::ScrollBarGuiElement::setUpButtonName().

size_t Ogre::PanelGuiElement::mNumTexCoordsInBuffer [protected, inherited]
 

Definition at line 113 of file OgrePanelGuiElement.h.

Referenced by Ogre::PanelGuiElement::PanelGuiElement(), and Ogre::PanelGuiElement::updateTextureGeometry().

Overlay* Ogre::GuiElement::mOverlay [protected, inherited]
 

Definition at line 136 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_notifyParent(), Ogre::GuiContainer::addChildImpl(), Ogre::GuiElement::getWorldOrientation(), Ogre::GuiElement::getWorldPosition(), and Ogre::GuiElement::getWorldTransforms().

String Ogre::StringInterface::mParamDictName [protected, inherited]
 

Class name for this instance to be used as a lookup (must be initialised by subclasses).

Definition at line 157 of file OgreStringInterface.h.

GuiContainer* Ogre::GuiElement::mParent [protected, inherited]
 

Definition at line 134 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_notifyParent(), Ogre::GuiElement::_updateFromParent(), Ogre::GuiElement::getParent(), and Ogre::GuiElement::GuiElement().

short Ogre::GuiElement::mPixelHeight [protected, inherited]
 

Definition at line 131 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_update(), Ogre::GuiElement::getHeight(), Ogre::GuiElement::setDimensions(), Ogre::GuiElement::setHeight(), and Ogre::GuiElement::setMetricsMode().

short Ogre::GuiElement::mPixelLeft [protected, inherited]
 

Definition at line 129 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_update(), Ogre::GuiElement::getLeft(), Ogre::GuiElement::setLeft(), Ogre::GuiElement::setMetricsMode(), and Ogre::GuiElement::setPosition().

short Ogre::GuiElement::mPixelTop [protected, inherited]
 

Definition at line 128 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_update(), Ogre::GuiElement::getTop(), Ogre::GuiElement::setMetricsMode(), Ogre::GuiElement::setPosition(), and Ogre::GuiElement::setTop().

short Ogre::GuiElement::mPixelWidth [protected, inherited]
 

Definition at line 130 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_update(), Ogre::GuiElement::getWidth(), Ogre::GuiElement::setDimensions(), Ogre::GuiElement::setMetricsMode(), and Ogre::GuiElement::setWidth().

Material* Ogre::GuiElement::mpMaterial [protected, inherited]
 

Definition at line 119 of file OgreGuiElement.h.

Referenced by Ogre::PanelGuiElement::_updateRenderQueue(), Ogre::GuiElement::getMaterial(), Ogre::GuiElement::GuiElement(), Ogre::TTYGuiElement::setFontName(), Ogre::TextAreaGuiElement::setFontName(), Ogre::GuiElement::setMaterialName(), and Ogre::PanelGuiElement::updateTextureGeometry().

bool Ogre::GuiPressable::mPressed [protected, inherited]
 

Definition at line 58 of file OgreGuiPressable.h.

Referenced by Ogre::GuiPressable::GuiPressable(), Ogre::GuiPressable::isPressed(), and Ogre::GuiPressable::setPressed().

RenderOperation Ogre::PanelGuiElement::mRenderOp [protected, inherited]
 

Definition at line 115 of file OgrePanelGuiElement.h.

Referenced by Ogre::PanelGuiElement::getRenderOperation(), Ogre::PanelGuiElement::initialise(), Ogre::PanelGuiElement::updatePositionGeometry(), Ogre::BorderPanelGuiElement::updatePositionGeometry(), Ogre::PanelGuiElement::updateTextureGeometry(), and Ogre::PanelGuiElement::~PanelGuiElement().

GuiElementCommands::CmdCaption Ogre::GuiElement::msCaptionCmd [static, protected, inherited]
 

Definition at line 49 of file OgreGuiElement.cpp.

Referenced by Ogre::GuiElement::addBaseParameters().

ButtonGuiElement::CmdButtonCaption Ogre::ButtonGuiElement::msCmdButtonCaption [static]
 

Definition at line 41 of file OgreButtonGuiElement.cpp.

ButtonGuiElement::CmdButtonDisabledMaterial Ogre::ButtonGuiElement::msCmdButtonDisabledMaterial [static]
 

Definition at line 38 of file OgreButtonGuiElement.cpp.

ButtonGuiElement::CmdButtonDownMaterial Ogre::ButtonGuiElement::msCmdButtonDownMaterial [static]
 

Definition at line 34 of file OgreButtonGuiElement.cpp.

ButtonGuiElement::CmdButtonHiliteDownMaterial Ogre::ButtonGuiElement::msCmdButtonHiliteDownMaterial [static]
 

Definition at line 36 of file OgreButtonGuiElement.cpp.

ButtonGuiElement::CmdButtonHiliteUpMaterial Ogre::ButtonGuiElement::msCmdButtonHiliteUpMaterial [static]
 

Definition at line 37 of file OgreButtonGuiElement.cpp.

ButtonGuiElement::CmdButtonUpMaterial Ogre::ButtonGuiElement::msCmdButtonUpMaterial [static]
 

Definition at line 35 of file OgreButtonGuiElement.cpp.

ButtonGuiElement::CmdCaptionColour Ogre::ButtonGuiElement::msCmdCaptionColour [static]
 

Definition at line 39 of file OgreButtonGuiElement.cpp.

Referenced by addBaseParameters().

ButtonGuiElement::CmdCaptionDisabledColour Ogre::ButtonGuiElement::msCmdCaptionDisabledColour [static]
 

Definition at line 40 of file OgreButtonGuiElement.cpp.

Referenced by addBaseParameters().

PanelGuiElement::CmdTiling Ogre::PanelGuiElement::msCmdTiling [static, protected, inherited]
 

Definition at line 36 of file OgrePanelGuiElement.cpp.

Referenced by Ogre::PanelGuiElement::addBaseParameters().

PanelGuiElement::CmdTransparent Ogre::PanelGuiElement::msCmdTransparent [static, protected, inherited]
 

Definition at line 37 of file OgrePanelGuiElement.cpp.

Referenced by Ogre::PanelGuiElement::addBaseParameters().

ParamDictionaryMap Ogre::StringInterface::msDictionary [static, protected, inherited]
 

Dictionary of parameters.

Definition at line 30 of file OgreStringInterface.cpp.

bool Ogre::ButtonGuiElement::mSetCaptionColor [protected]
 

Definition at line 67 of file OgreButtonGuiElement.h.

Referenced by ButtonGuiElement(), setCaptionColour(), and updateMaterials().

bool Ogre::ButtonGuiElement::mSetCaptionDisabledColor [protected]
 

Definition at line 68 of file OgreButtonGuiElement.h.

Referenced by ButtonGuiElement(), and setCaptionDisabledColour().

GuiElementCommands::CmdHeight Ogre::GuiElement::msHeightCmd [static, protected, inherited]
 

Definition at line 47 of file OgreGuiElement.cpp.

Referenced by Ogre::GuiElement::addBaseParameters().

GuiElementCommands::CmdHorizontalAlign Ogre::GuiElement::msHorizontalAlignCmd [static, protected, inherited]
 

Definition at line 51 of file OgreGuiElement.cpp.

Referenced by Ogre::GuiElement::addBaseParameters().

GuiElementCommands::CmdLeft Ogre::GuiElement::msLeftCmd [static, protected, inherited]
 

Definition at line 44 of file OgreGuiElement.cpp.

Referenced by Ogre::GuiElement::addBaseParameters().

GuiElementCommands::CmdMaterial Ogre::GuiElement::msMaterialCmd [static, protected, inherited]
 

Definition at line 48 of file OgreGuiElement.cpp.

Referenced by Ogre::GuiElement::addBaseParameters().

GuiElementCommands::CmdMetricsMode Ogre::GuiElement::msMetricsModeCmd [static, protected, inherited]
 

Definition at line 50 of file OgreGuiElement.cpp.

Referenced by Ogre::GuiElement::addBaseParameters().

GuiElement* Ogre::GuiPressable::mSource [protected, inherited]
 

Definition at line 60 of file OgreGuiPressable.h.

Referenced by Ogre::GuiPressable::fireActionPerformed(), and Ogre::GuiPressable::setSource().

GuiElementCommands::CmdTop Ogre::GuiElement::msTopCmd [static, protected, inherited]
 

Definition at line 45 of file OgreGuiElement.cpp.

Referenced by Ogre::GuiElement::addBaseParameters().

String Ogre::ButtonGuiElement::msTypeName = "Button" [static, protected]
 

Reimplemented from Ogre::PanelGuiElement.

Definition at line 33 of file OgreButtonGuiElement.cpp.

Referenced by getTypeName().

GuiElementCommands::CmdVerticalAlign Ogre::GuiElement::msVerticalAlignCmd [static, protected, inherited]
 

Definition at line 52 of file OgreGuiElement.cpp.

Referenced by Ogre::GuiElement::addBaseParameters().

GuiElementCommands::CmdVisible Ogre::GuiElement::msVisibleCmd [static, protected, inherited]
 

Definition at line 53 of file OgreGuiElement.cpp.

Referenced by Ogre::GuiElement::addBaseParameters().

GuiElementCommands::CmdWidth Ogre::GuiElement::msWidthCmd [static, protected, inherited]
 

Definition at line 46 of file OgreGuiElement.cpp.

Referenced by Ogre::GuiElement::addBaseParameters().

Real Ogre::PanelGuiElement::mTileX[OGRE_MAX_TEXTURE_LAYERS] [protected, inherited]
 

Definition at line 111 of file OgrePanelGuiElement.h.

Referenced by Ogre::PanelGuiElement::getTileX(), Ogre::PanelGuiElement::PanelGuiElement(), Ogre::PanelGuiElement::setTiling(), and Ogre::PanelGuiElement::updateTextureGeometry().

Real Ogre::PanelGuiElement::mTileY[OGRE_MAX_TEXTURE_LAYERS] [protected, inherited]
 

Definition at line 112 of file OgrePanelGuiElement.h.

Referenced by Ogre::PanelGuiElement::getTileY(), Ogre::PanelGuiElement::PanelGuiElement(), Ogre::PanelGuiElement::setTiling(), and Ogre::PanelGuiElement::updateTextureGeometry().

Real Ogre::GuiElement::mTop [protected, inherited]
 

Definition at line 115 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_update(), Ogre::GuiElement::_updateFromParent(), Ogre::GuiElement::getTop(), Ogre::GuiElement::GuiElement(), Ogre::GuiElement::setMetricsMode(), Ogre::CursorGuiElement::setOffsetY(), Ogre::GuiElement::setPosition(), and Ogre::GuiElement::setTop().

bool Ogre::PanelGuiElement::mTransparent [protected, inherited]
 

Definition at line 109 of file OgrePanelGuiElement.h.

Referenced by Ogre::PanelGuiElement::_updateRenderQueue(), Ogre::PanelGuiElement::isTransparent(), Ogre::PanelGuiElement::PanelGuiElement(), and Ogre::PanelGuiElement::setTransparent().

String Ogre::ButtonGuiElement::mUpMaterialName [protected]
 

Definition at line 60 of file OgreButtonGuiElement.h.

Referenced by ButtonGuiElement(), getUpMaterialName(), setUpMaterialName(), and updateMaterials().

GuiVerticalAlignment Ogre::GuiElement::mVertAlign [protected, inherited]
 

Definition at line 125 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_updateFromParent(), Ogre::GuiElement::getVerticalAlignment(), Ogre::GuiElement::GuiElement(), and Ogre::GuiElement::setVerticalAlignment().

bool Ogre::GuiElement::mVisible [protected, inherited]
 

Definition at line 112 of file OgreGuiElement.h.

Referenced by Ogre::CursorGuiElement::CursorGuiElement(), Ogre::GuiElement::GuiElement(), Ogre::GuiElement::hide(), Ogre::GuiElement::isVisible(), Ogre::GuiElement::show(), and Ogre::CursorGuiElement::show().

Real Ogre::GuiElement::mWidth [protected, inherited]
 

Definition at line 116 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_update(), Ogre::TTYGuiElement::checkAndSetUpdateGeometry(), Ogre::GuiElement::getWidth(), Ogre::GuiElement::GuiElement(), Ogre::GuiElement::setDimensions(), Ogre::GuiElement::setMetricsMode(), Ogre::GuiElement::setWidth(), Ogre::PanelGuiElement::updatePositionGeometry(), Ogre::BorderPanelGuiElement::updatePositionGeometry(), Ogre::TTYGuiElement::updateTextGeometry(), and Ogre::TTYGuiElement::updateWindowGeometry().

ushort Ogre::GuiElement::mZOrder [protected, inherited]
 

Definition at line 148 of file OgreGuiElement.h.

Referenced by Ogre::GuiElement::_notifyZOrder(), Ogre::GuiElement::_updateRenderQueue(), Ogre::BorderPanelGuiElement::_updateRenderQueue(), Ogre::GuiContainer::addChildImpl(), and Ogre::GuiElement::GuiElement().


The documentation for this class was generated from the following files:

Copyright © 2002-2003 by The OGRE Team
Last modified Wed Jan 21 00:11:47 2004