#include <OgreTextAreaGuiElement.h>
Inheritance diagram for Ogre::TextAreaGuiElement:


Public Types | |
| enum | Alignment { Left, Right, Center } |
Public Methods | |
| TextAreaGuiElement (const String &name) | |
| Constructor. | |
| virtual | ~TextAreaGuiElement () |
| virtual void | initialise (void) |
| Initialise gui element. | |
| void | setCaption (const String &caption) |
| Sets the caption on elements that support it. | |
| const String & | getCaption () const |
| Gets the caption for this element. | |
| void | setCharHeight (Real height) |
| Real | getCharHeight () const |
| void | setSpaceWidth (Real width) |
| Real | getSpaceWidth () const |
| void | setFontName (const String &font) |
| const String & | getFontName () const |
| virtual const String & | getTypeName (void) const |
| See GuiElement. | |
| void | getRenderOperation (RenderOperation &op) |
| See Renderable. | |
| void | setMaterialName (const String &matName) |
| Overridden from GuiElement. | |
| void | setColour (const ColourValue &col) |
| Sets the colour of the text. | |
| const ColourValue & | getColour (void) const |
| Gets the colour of the text. | |
| void | setColourBottom (const ColourValue &col) |
| Sets the colour of the bottom of the letters. | |
| const ColourValue & | getColourBottom (void) const |
| Gets the colour of the bottom of the letters. | |
| void | setColourTop (const ColourValue &col) |
| Sets the colour of the top of the letters. | |
| const ColourValue & | getColourTop (void) const |
| Gets the colour of the top of the letters. | |
| void | setAlignment (Alignment a) |
| Alignment | getAlignment () const |
| void | setMetricsMode (GuiMetricsMode gmm) |
| Overridden from GuiElement. | |
| void | _update (void) |
| Overridden from GuiElement. | |
| const String & | getName (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 String & | getMaterialName (void) const |
| Gets the name of the material this element uses. | |
| Material * | getMaterial (void) const |
| See Renderable. | |
| void | getWorldTransforms (Matrix4 *xform) const |
| See Renderable. | |
| const Quaternion & | getWorldOrientation (void) const |
| @copydoc Renderable::getWorldOrientation | |
| const Vector3 & | getWorldPosition (void) const |
| @copydoc Renderable::getWorldPosition | |
| bool | useIdentityProjection (void) const |
| See Renderable. | |
| bool | useIdentityView (void) const |
| See Renderable. | |
| virtual void | _positionsOutOfDate (void) |
| Tell the object to recalculate. | |
| virtual void | _updateFromParent (void) |
| Updates this elements transform based on it's parent. | |
| virtual void | _notifyParent (GuiContainer *parent, Overlay *overlay) |
| Internal method for notifying the gui element of it's parent and ultimate overlay. | |
| 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 | _notifyZOrder (ushort newZOrder) |
| Internal method to notify the element when Zorder of parent overlay has changed. | |
| virtual void | _updateRenderQueue (RenderQueue *queue) |
| Internal method to put the contents onto the render queue. | |
| 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 GuiElement * | findElementAt (Real x, Real y) |
| Returns true if xy is within the constraints of the component. | |
| virtual void | processEvent (InputEvent *e) |
| Processes events occurring on this component. | |
| virtual bool | isContainer () const |
| returns false as this class is not a container type | |
| virtual bool | isKeyEnabled () const |
| virtual bool | isCloneable () const |
| virtual void | setCloneable (bool c) |
| PositionTarget * | getPositionTargetParent () |
| Returns the parent container. | |
| GuiContainer * | getParent () |
| Returns the parent container. | |
| ushort | getZOrder () const |
| Returns the zOrder of the element. | |
| Real | getSquaredViewDepth (const Camera *cam) const |
| Overridden from Renderable. | |
| const LightList & | getLights (void) const |
| @copydoc Renderable::getLights | |
| void | copyFromTemplate (GuiElement *templateGui) |
| ParamDictionary * | getParamDictionary (void) |
| Retrieves the parameter dictionary for this class. | |
| const ParamDictionary * | getParamDictionary (void) const |
| const ParameterList & | getParameters (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 Technique * | getTechnique (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) |
Protected Methods | |
| void | addBaseParameters (void) |
| Method for setting up base parameters for this class. | |
| void | updateGeometry () |
| Internal method to update the geometry. | |
| void | checkMemoryAllocation (size_t numChars) |
| Internal method to allocate memory, only reallocates when necessary. | |
| virtual void | updatePositionGeometry () |
| Inherited function. | |
| virtual void | updateColours (void) |
| Updates vertex colours. | |
| bool | createParamDictionary (const String &className) |
| Internal method for creating a parameter dictionary for the class, if it does not already exist. | |
Protected Attributes | |
| Alignment | mAlignment |
| The text alignment. | |
| bool | mTransparent |
| Flag indicating if this panel should be visual or just group things. | |
| RenderOperation | mRenderOp |
| Render operation. | |
| Font * | mpFont |
| Real | mCharHeight |
| ushort | mPixelCharHeight |
| Real | mSpaceWidth |
| ushort | mPixelSpaceWidth |
| size_t | mAllocSize |
| ColourValue | mColourBottom |
| Colours to use for the vertices. | |
| ColourValue | mColourTop |
| bool | mColoursChanged |
| String | mName |
| bool | mVisible |
| bool | mCloneable |
| Real | mLeft |
| Real | mTop |
| Real | mWidth |
| Real | mHeight |
| String | mMaterialName |
| Material * | mpMaterial |
| String | mCaption |
| ColourValue | mColour |
| GuiMetricsMode | mMetricsMode |
| GuiHorizontalAlignment | mHorzAlign |
| GuiVerticalAlignment | mVertAlign |
| short | mPixelTop |
| short | mPixelLeft |
| short | mPixelWidth |
| short | mPixelHeight |
| GuiContainer * | mParent |
| Overlay * | mOverlay |
| 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). | |
| MouseListener * | mMouseListener |
| bool | mMouseWithin |
| MouseMotionListener * | mMouseMotionListener |
| ActionListener * | mActionListener |
Static Protected Attributes | |
| String | msTypeName = "TextArea" |
| CmdCharHeight | msCmdCharHeight |
| CmdSpaceWidth | msCmdSpaceWidth |
| CmdFontName | msCmdFontName |
| CmdColour | msCmdColour |
| CmdColourTop | msCmdColourTop |
| CmdColourBottom | msCmdColourBottom |
| CmdAlignment | msCmdAlignment |
| 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. | |
This component is suitable for backgrounds and grouping other elements. Note that because it has a single repeating material it cannot have a discrete border (unless the texture has one and the texture is tiled only once). For a bordered panel, see it's subclass BorderTextAreaGuiElement.
Note that the material can have all the usual effects applied to it like multiple texture layers, scrolling / animated textures etc. For multiple texture layers, you have to set the tiling level for each layer.
Definition at line 54 of file OgreTextAreaGuiElement.h.
|
|
Definition at line 57 of file OgreTextAreaGuiElement.h. |
|
|
Constructor.
Definition at line 50 of file OgreTextAreaGuiElement.cpp. References addBaseParameters(), Ogre::StringInterface::createParamDictionary(), Left, mAlignment, mAllocSize, mCharHeight, mColourBottom, mColoursChanged, mColourTop, mpFont, mPixelCharHeight, mPixelSpaceWidth, mSpaceWidth, and mTransparent. |
|
|
Definition at line 393 of file OgreTextAreaGuiElement.cpp. References mRenderOp, and Ogre::RenderOperation::vertexData. |
|
|
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(), updateGeometry(), Ogre::PanelGuiElement::updatePositionGeometry(), Ogre::BorderPanelGuiElement::updatePositionGeometry(), and Ogre::TTYGuiElement::updateWindowGeometry(). |
|
|
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(), updateGeometry(), Ogre::PanelGuiElement::updatePositionGeometry(), Ogre::BorderPanelGuiElement::updatePositionGeometry(), and Ogre::TTYGuiElement::updateWindowGeometry(). |
|
||||||||||||
|
Internal method for notifying the gui element of it's parent and ultimate overlay.
Reimplemented in Ogre::GuiContainer. Definition at line 379 of file OgreGuiElement.cpp. References Ogre::GuiElement::mDerivedOutOfDate, Ogre::GuiElement::mOverlay, and Ogre::GuiElement::mParent. Referenced by Ogre::GuiContainer::addChildImpl(). |
|
|
Internal method to notify the element when Zorder of parent overlay has changed.
Reimplemented in Ogre::GuiContainer. Definition at line 405 of file OgreGuiElement.cpp. References Ogre::GuiElement::mZOrder, and Ogre::ushort. Referenced by Ogre::GuiContainer::addChildImpl(). |
|
|
Tell the object to recalculate.
Reimplemented in Ogre::GuiContainer. Definition at line 289 of file OgreGuiElement.cpp. References Ogre::GuiElement::mGeomPositionsOutOfDate. Referenced by Ogre::GuiElement::setCaption(), Ogre::GuiElement::setDimensions(), Ogre::GuiElement::setHeight(), Ogre::GuiElement::setHorizontalAlignment(), Ogre::GuiElement::setLeft(), Ogre::GuiElement::setMetricsMode(), Ogre::GuiElement::setPosition(), Ogre::GuiElement::setTop(), Ogre::GuiElement::setVerticalAlignment(), and Ogre::GuiElement::setWidth(). |
|
|
Overridden from GuiElement.
Reimplemented from Ogre::GuiElement. Definition at line 534 of file OgreTextAreaGuiElement.cpp. References Ogre::GMM_PIXELS, mCharHeight, Ogre::GuiElement::mGeomPositionsOutOfDate, Ogre::GuiElement::mMetricsMode, mPixelCharHeight, mPixelSpaceWidth, mSpaceWidth, and Ogre::Real. |
|
|
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(). |
|
|
Internal method to put the contents onto the render queue.
Reimplemented in Ogre::GuiContainer, Ogre::BorderPanelGuiElement, and Ogre::PanelGuiElement. Definition at line 410 of file OgreGuiElement.cpp. References Ogre::RenderQueue::addRenderable(), Ogre::GuiElement::mZOrder, and Ogre::RENDER_QUEUE_OVERLAY. |
|
|
Definition at line 61 of file OgreActionTarget.cpp. References Ogre::ActionTarget::mActionListener. Referenced by Ogre::ScrollBarGuiElement::setDownButtonName(), and Ogre::ScrollBarGuiElement::setUpButtonName(). |
|
|
Method for setting up base parameters for this class.
Reimplemented from Ogre::GuiElement. Definition at line 414 of file OgreTextAreaGuiElement.cpp. References Ogre::ParamDictionary::addParameter(), Ogre::StringInterface::getParamDictionary(), msCmdAlignment, msCmdCharHeight, msCmdColour, msCmdColourBottom, msCmdColourTop, msCmdFontName, msCmdSpaceWidth, Ogre::PT_REAL, and Ogre::PT_STRING. Referenced by TextAreaGuiElement(). |
|
|
Definition at line 86 of file OgreMouseTarget.cpp. References Ogre::MouseTarget::mMouseListener. Referenced by Ogre::ListGuiElement::addListItem(), Ogre::ScrollBarGuiElement::setScrollBitName(), and Ogre::GuiPressable::setSource(). |
|
|
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(). |
|
|
Internal method to allocate memory, only reallocates when necessary.
Definition at line 100 of file OgreTextAreaGuiElement.cpp. References COLOUR_BINDING, Ogre::VertexDeclaration::getVertexSize(), mAllocSize, mColoursChanged, mRenderOp, POS_TEX_BINDING, Ogre::VertexBufferBinding::setBinding(), Ogre::VertexData::vertexBufferBinding, Ogre::VertexData::vertexCount, Ogre::RenderOperation::vertexData, and Ogre::VertexData::vertexDeclaration. Referenced by initialise(), and updateGeometry(). |
|
||||||||||||
|
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. |
|
|
Reimplemented in Ogre::GuiContainer. Definition at line 590 of file OgreGuiElement.cpp. References Ogre::StringInterface::copyParametersTo(). |
|
|
Method for copying this object's parameters to another 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=(). |
|
|
||||||||||||
|
Returns true if xy is within the constraints of the component.
Reimplemented in Ogre::GuiContainer, and Ogre::CursorGuiElement. Definition at line 538 of file OgreGuiElement.cpp. References Ogre::Real. Referenced by Ogre::GuiContainer::findElementAt(). |
|
|
Definition at line 123 of file OgreTextAreaGuiElement.h. |
|
|
Gets the caption for this element.
Reimplemented from Ogre::GuiElement. Definition at line 320 of file OgreTextAreaGuiElement.cpp. References Ogre::GuiElement::mCaption. Referenced by Ogre::TextBoxGuiElement::getCaption(). |
|
|
Definition at line 355 of file OgreTextAreaGuiElement.cpp. References Ogre::GMM_PIXELS, mCharHeight, Ogre::GuiElement::mMetricsMode, mPixelCharHeight, and Ogre::Real. Referenced by Ogre::TextAreaGuiElement::CmdCharHeight::doGet(), and Ogre::TextBoxGuiElement::processEvent(). |
|
|
Gets the colour of the text.
Reimplemented from Ogre::GuiElement. Definition at line 462 of file OgreTextAreaGuiElement.cpp. References mColourTop. Referenced by Ogre::TextAreaGuiElement::CmdColour::doGet(). |
|
|
Gets the colour of the bottom of the letters.
Definition at line 475 of file OgreTextAreaGuiElement.cpp. References mColourBottom. Referenced by Ogre::TextAreaGuiElement::CmdColourBottom::doGet(). |
|
|
Gets the colour of the top of the letters.
Definition at line 487 of file OgreTextAreaGuiElement.cpp. References mColourTop. Referenced by Ogre::TextAreaGuiElement::CmdColourTop::doGet(). |
|
|
Definition at line 338 of file OgreTextAreaGuiElement.cpp. References Ogre::Resource::getName(), and mpFont. Referenced by Ogre::TextBoxGuiElement::processEvent(). |
|
|
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(), Ogre::ButtonGuiElement::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(). |
|
|
Gets the horizontal alignment for this element.
Definition at line 513 of file OgreGuiElement.cpp. References Ogre::GuiHorizontalAlignment, and Ogre::GuiElement::mHorzAlign. |
|
|
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 Ogre::ButtonGuiElement::changeChild(), and Ogre::BorderButtonGuiElement::changeChild(). |
|
|
@copydoc Renderable::getLights
Implements Ogre::Renderable. Definition at line 419 of file OgreGuiElement.h. References Ogre::LightList. |
|
|
See Renderable.
Implements Ogre::Renderable. Definition at line 258 of file OgreGuiElement.cpp. References Ogre::GuiElement::mpMaterial. |
|
|
Gets the name of the material this element uses.
Definition at line 238 of file OgreGuiElement.cpp. References Ogre::GuiElement::mMaterialName. |
|
|
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. |
|
|
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(), Ogre::ButtonGuiElement::setButtonCaption(), Ogre::BorderButtonGuiElement::setButtonCaption(), Ogre::ListGuiElement::setScrollBarName(), Ogre::ListGuiElement::setSelectedIndex(), and Ogre::TextBoxGuiElement::setTextArea(). |
|
|
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(). |
|
|
Returns the number of world transform matrices this renderable requires.
Reimplemented in Ogre::SubEntity, and Ogre::BorderRenderable. Definition at line 98 of file OgreRenderable.h. Referenced by Ogre::SceneManager::renderSingleObject(). |
|
|
Definition at line 206 of file OgreStringInterface.h. |
|
|
Retrieves the parameter dictionary for this class.
Definition at line 193 of file OgreStringInterface.h. Referenced by Ogre::TTYGuiElement::addBaseParameters(), Ogre::TextBoxGuiElement::addBaseParameters(), addBaseParameters(), Ogre::ScrollBarGuiElement::addBaseParameters(), Ogre::PopupMenuGuiElement::addBaseParameters(), Ogre::ParticleEmitter::addBaseParameters(), Ogre::PanelGuiElement::addBaseParameters(), Ogre::ListGuiElement::addBaseParameters(), Ogre::GuiElement::addBaseParameters(), Ogre::CursorGuiElement::addBaseParameters(), Ogre::ButtonGuiElement::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(). |
|
|
Generic parameter retrieval method.
Definition at line 262 of file OgreStringInterface.h. References Ogre::ParamCommand::doGet(), and Ogre::ParamDictionary::getParamCommand(). |
|
|
Retrieves a list of parameters valid for this object.
Definition at line 224 of file OgreStringInterface.h. References Ogre::ParamDictionary::getParameters(), and Ogre::ParameterList. |
|
|
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(). |
|
|
Returns the parent container.
Implements Ogre::PositionTarget. Definition at line 580 of file OgreGuiElement.cpp. |
|
|
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(). |
|
|
See Renderable.
Implements Ogre::Renderable. Definition at line 403 of file OgreTextAreaGuiElement.cpp. References mRenderOp. |
|
|
Definition at line 380 of file OgreTextAreaGuiElement.cpp. References Ogre::GMM_PIXELS, Ogre::GuiElement::mMetricsMode, mPixelSpaceWidth, mSpaceWidth, and Ogre::Real. Referenced by Ogre::TextAreaGuiElement::CmdSpaceWidth::doGet(), Ogre::TextBoxGuiElement::processEvent(), and Ogre::TextBoxGuiElement::setTextArea(). |
|
|
Overridden from Renderable.
Implements Ogre::Renderable. Definition at line 413 of file OgreGuiElement.h. References Ogre::Real. Referenced by Ogre::BorderRenderable::getSquaredViewDepth(). |
|
|
Retrieves a pointer to the Material Technique this renderable object uses.
Reimplemented in Ogre::SubEntity. Definition at line 63 of file OgreRenderable.h. References Ogre::Material::getBestTechnique(). Referenced by Ogre::RenderPriorityGroup::addRenderable(). |
|
|
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 Ogre::ButtonGuiElement::changeChild(), Ogre::BorderButtonGuiElement::changeChild(), Ogre::ScrollBarGuiElement::mouseDragged(), Ogre::ScrollBarGuiElement::mousePressed(), and Ogre::ScrollBarGuiElement::moveScrollBitTo(). |
|
|
See GuiElement.
Implements Ogre::GuiElement. Definition at line 398 of file OgreTextAreaGuiElement.cpp. References msTypeName. |
|
|
Gets the vertical alignment for this element.
Definition at line 524 of file OgreGuiElement.cpp. References Ogre::GuiVerticalAlignment, and Ogre::GuiElement::mVertAlign. |
|
|
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(), Ogre::ButtonGuiElement::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(), updateGeometry(), and Ogre::ScrollBarGuiElement::updateScrollBit(). |
|
|
@copydoc Renderable::getWorldOrientation
Implements Ogre::Renderable. Definition at line 268 of file OgreGuiElement.cpp. References Ogre::Overlay::getWorldOrientation(), and Ogre::GuiElement::mOverlay. |
|
|
@copydoc Renderable::getWorldPosition
Implements Ogre::Renderable. Definition at line 273 of file OgreGuiElement.cpp. References Ogre::Overlay::getWorldPosition(), and Ogre::GuiElement::mOverlay. |
|
|
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(). |
|
|
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(). |
|
|
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(). |
|
|
Initialise gui element.
Implements Ogre::GuiElement. Definition at line 74 of file OgreTextAreaGuiElement.cpp. References Ogre::VertexDeclaration::addElement(), checkMemoryAllocation(), COLOUR_BINDING, DEFAULT_INITIAL_CHARS, mRenderOp, Ogre::RenderOperation::operationType, POS_TEX_BINDING, Ogre::RenderOperation::useIndexes, Ogre::RenderOperation::vertexData, Ogre::VertexData::vertexDeclaration, Ogre::VertexData::vertexStart, Ogre::VES_DIFFUSE, Ogre::VES_POSITION, Ogre::VES_TEXTURE_COORDINATES, Ogre::VET_COLOUR, Ogre::VET_FLOAT2, and Ogre::VET_FLOAT3. |
|
|
Definition at line 390 of file OgreGuiElement.h. Referenced by Ogre::GuiContainer::copyFromTemplate(). |
|
|
returns false as this class is not a container type
Reimplemented in Ogre::GuiContainer. Definition at line 384 of file OgreGuiElement.h. Referenced by Ogre::GuiContainer::addChild(), and Ogre::GuiContainer::copyFromTemplate(). |
|
|
Definition at line 597 of file OgreGuiElement.cpp. References Ogre::GuiElement::mEnabled. Referenced by Ogre::GuiContainer::findElementAt(), and Ogre::ButtonGuiElement::updateMaterials(). |
|
|
Implements Ogre::PositionTarget. Reimplemented in Ogre::TextBoxGuiElement. Definition at line 387 of file OgreGuiElement.h. |
|
|
Definition at line 105 of file OgreMouseTarget.cpp. References Ogre::MouseTarget::mMouseWithin. Referenced by Ogre::ButtonGuiElement::updateMaterials(), and Ogre::BorderButtonGuiElement::updateMaterials(). |
|
|
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(). |
|
|
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(). |
|
|
Processes events occurring on this component. By default this method calls the appropriate process event method Implements Ogre::EventTarget. Reimplemented in Ogre::BorderButtonGuiElement, Ogre::ButtonGuiElement, Ogre::ScrollBarGuiElement, and Ogre::TextBoxGuiElement. Definition at line 549 of file OgreGuiElement.cpp. References Ogre::InputEvent::getID(), Ogre::InputEvent::isConsumed(), Ogre::GuiElement::mEnabled, Ogre::ActionTarget::processActionEvent(), Ogre::MouseTarget::processMouseEvent(), and Ogre::MouseMotionTarget::processMouseMotionEvent(). Referenced by Ogre::GuiPressable::fireActionPerformed(). |
|
|
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(). |
|
|
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(). |
|
|
Definition at line 71 of file OgreActionTarget.cpp. References Ogre::ActionTarget::mActionListener. |
|
|
Definition at line 95 of file OgreMouseTarget.cpp. References Ogre::MouseTarget::mMouseListener. |
|
|
Definition at line 74 of file OgreMouseMotionTarget.cpp. References Ogre::MouseMotionTarget::mMouseMotionListener. Referenced by Ogre::InputReader::removeCursorMoveListener(). |
|
|
Definition at line 118 of file OgreTextAreaGuiElement.h. |
|
|
Sets the caption on elements that support it.
Reimplemented from Ogre::GuiElement. Definition at line 314 of file OgreTextAreaGuiElement.cpp. References Ogre::GuiElement::mCaption, and updateGeometry(). Referenced by Ogre::TextBoxGuiElement::setCaption(), and Ogre::TextBoxGuiElement::setCaptionToTextArea(). |
|
|
Definition at line 343 of file OgreTextAreaGuiElement.cpp. References Ogre::GMM_PIXELS, mCharHeight, Ogre::GuiElement::mGeomPositionsOutOfDate, Ogre::GuiElement::mMetricsMode, mPixelCharHeight, and Ogre::Real. |
|
|
Definition at line 393 of file OgreGuiElement.h. Referenced by Ogre::TextBoxGuiElement::setBackPanel(), Ogre::ButtonGuiElement::setButtonCaption(), Ogre::BorderButtonGuiElement::setButtonCaption(), Ogre::ScrollBarGuiElement::setDownButtonName(), Ogre::ScrollBarGuiElement::setScrollBitName(), Ogre::TextBoxGuiElement::setTextArea(), and Ogre::ScrollBarGuiElement::setUpButtonName(). |
|
|
Sets the colour of the text.
Reimplemented from Ogre::GuiElement. Definition at line 455 of file OgreTextAreaGuiElement.cpp. References mColourBottom, mColoursChanged, mColourTop, and updateColours(). |
|
|
Sets the colour of the bottom of the letters.
Definition at line 468 of file OgreTextAreaGuiElement.cpp. References mColourBottom, mColoursChanged, and updateColours(). |
|
|
Sets the colour of the top of the letters.
Definition at line 480 of file OgreTextAreaGuiElement.cpp. References mColoursChanged, mColourTop, and updateColours(). |
|
||||||||||||
|
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(). |
|
|
Definition at line 603 of file OgreGuiElement.cpp. References Ogre::GuiElement::mEnabled. |
|
|
Definition at line 325 of file OgreTextAreaGuiElement.cpp. References Except, Ogre::Font::getMaterial(), Ogre::Font::load(), mpFont, Ogre::GuiElement::mpMaterial, Ogre::Material::setDepthCheckEnabled(), Ogre::Material::setLightingEnabled(), and updateGeometry(). |
|
|
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(), Ogre::ButtonGuiElement::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(). |
|
|
Sets the horizontal origin for this element.
Definition at line 507 of file OgreGuiElement.cpp. References Ogre::GuiElement::_positionsOutOfDate(), Ogre::GuiHorizontalAlignment, and Ogre::GuiElement::mHorzAlign. |
|
|
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(), Ogre::ButtonGuiElement::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(). |
|
|
Overridden from GuiElement.
Reimplemented from Ogre::GuiElement. Definition at line 408 of file OgreTextAreaGuiElement.cpp. References updateGeometry(). |
|
|
Overridden from GuiElement.
Reimplemented from Ogre::GuiElement. Definition at line 524 of file OgreTextAreaGuiElement.cpp. References Ogre::GMM_PIXELS, Ogre::GuiMetricsMode, mCharHeight, mPixelCharHeight, mPixelSpaceWidth, and mSpaceWidth. |
|
||||||||||||
|
Generic parameter setting 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(). |
|
||||||||||||
|
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. |
|
|
Definition at line 367 of file OgreTextAreaGuiElement.cpp. References Ogre::GMM_PIXELS, Ogre::GuiElement::mGeomPositionsOutOfDate, Ogre::GuiElement::mMetricsMode, mPixelSpaceWidth, mSpaceWidth, and Ogre::Real. |
|
|
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(), Ogre::ButtonGuiElement::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(). |
|
|
Sets the vertical origin for this element.
Definition at line 518 of file OgreGuiElement.cpp. References Ogre::GuiElement::_positionsOutOfDate(), Ogre::GuiVerticalAlignment, and Ogre::GuiElement::mVertAlign. |
|
|
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(), Ogre::ButtonGuiElement::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 updateGeometry(). |
|
|
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(). |
|
|
Updates vertex colours.
Definition at line 492 of file OgreTextAreaGuiElement.cpp. References COLOUR_BINDING, Ogre::VertexBufferBinding::getBuffer(), mAllocSize, mColourBottom, mColoursChanged, mColourTop, mRenderOp, Ogre::RGBA, Ogre::VertexData::vertexBufferBinding, and Ogre::RenderOperation::vertexData. Referenced by setColour(), setColourBottom(), setColourTop(), and updateGeometry(). |
|
|
Internal method to update the geometry.
Definition at line 138 of file OgreTextAreaGuiElement.cpp. References Ogre::GuiElement::_getDerivedLeft(), Ogre::GuiElement::_getDerivedTop(), Center, checkMemoryAllocation(), Ogre::VertexBufferBinding::getBuffer(), Ogre::Font::getGlyphAspectRatio(), Ogre::Font::getGlyphTexCoords(), Ogre::GuiElement::getWidth(), Ogre::GMM_PIXELS, mAlignment, Ogre::GuiElement::mCaption, mCharHeight, Ogre::GuiElement::mMetricsMode, mpFont, mRenderOp, mSpaceWidth, POS_TEX_BINDING, Ogre::Real, Right, Ogre::GuiElement::setWidth(), updateColours(), Ogre::VertexData::vertexBufferBinding, Ogre::VertexData::vertexCount, and Ogre::RenderOperation::vertexData. Referenced by setCaption(), setFontName(), setMaterialName(), and updatePositionGeometry(). |
|
|
Inherited function.
Implements Ogre::GuiElement. Definition at line 309 of file OgreTextAreaGuiElement.cpp. References updateGeometry(). |
|
|
See Renderable.
Reimplemented from Ogre::Renderable. Definition at line 278 of file OgreGuiElement.cpp. |
|
|
See Renderable.
Reimplemented from Ogre::Renderable. Definition at line 283 of file OgreGuiElement.cpp. |
|
|
Definition at line 58 of file OgreActionTarget.h. Referenced by Ogre::ActionTarget::ActionTarget(), Ogre::ActionTarget::addActionListener(), Ogre::ActionTarget::processActionEvent(), and Ogre::ActionTarget::removeActionListener(). |
|
|
The text alignment.
Definition at line 217 of file OgreTextAreaGuiElement.h. Referenced by TextAreaGuiElement(), and updateGeometry(). |
|
|
Definition at line 245 of file OgreTextAreaGuiElement.h. Referenced by checkMemoryAllocation(), TextAreaGuiElement(), and updateColours(). |
|
|
Definition at line 120 of file OgreGuiElement.h. Referenced by Ogre::TTYGuiElement::getCaption(), Ogre::TextBoxGuiElement::getCaption(), getCaption(), Ogre::GuiElement::getCaption(), Ogre::TextBoxGuiElement::getTextAreaName(), Ogre::TextBoxGuiElement::processEvent(), Ogre::TextBoxGuiElement::setCaption(), setCaption(), Ogre::GuiElement::setCaption(), Ogre::TextBoxGuiElement::setCaptionToTextArea(), Ogre::TextBoxGuiElement::setTextArea(), and updateGeometry(). |
|
|
Definition at line 241 of file OgreTextAreaGuiElement.h. Referenced by _update(), getCharHeight(), setCharHeight(), setMetricsMode(), TextAreaGuiElement(), and updateGeometry(). |
|
|
Definition at line 113 of file OgreGuiElement.h. Referenced by Ogre::GuiElement::GuiElement(). |
|
|
Definition at line 121 of file OgreGuiElement.h. Referenced by Ogre::GuiElement::getColour(), and Ogre::GuiElement::setColour(). |
|
|
Colours to use for the vertices.
Definition at line 248 of file OgreTextAreaGuiElement.h. Referenced by getColourBottom(), setColour(), setColourBottom(), TextAreaGuiElement(), and updateColours(). |
|
|
Definition at line 250 of file OgreTextAreaGuiElement.h. Referenced by checkMemoryAllocation(), setColour(), setColourBottom(), setColourTop(), TextAreaGuiElement(), and updateColours(). |
|
|
Definition at line 249 of file OgreTextAreaGuiElement.h. Referenced by getColour(), getColourTop(), setColour(), setColourTop(), TextAreaGuiElement(), and updateColours(). |
|
|
Definition at line 139 of file OgreGuiElement.h. Referenced by Ogre::GuiElement::_getDerivedLeft(), Ogre::GuiElement::_updateFromParent(), and Ogre::GuiElement::contains(). |
|
|
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(). |
|
|
Definition at line 140 of file OgreGuiElement.h. Referenced by Ogre::GuiElement::_getDerivedTop(), Ogre::GuiElement::_updateFromParent(), Ogre::GuiElement::contains(), and Ogre::ScrollBarGuiElement::mousePressed(). |
|
|
Definition at line 152 of file OgreGuiElement.h. Referenced by Ogre::GuiElement::GuiElement(), Ogre::GuiElement::isEnabled(), Ogre::GuiElement::processEvent(), and Ogre::GuiElement::setEnabled(). |
|
|
Falg indicating if the vertex positons need recalculating.
Definition at line 144 of file OgreGuiElement.h. Referenced by Ogre::GuiElement::_positionsOutOfDate(), Ogre::TTYGuiElement::_update(), _update(), Ogre::GuiElement::_update(), Ogre::BorderPanelGuiElement::_update(), Ogre::GuiElement::GuiElement(), Ogre::BorderPanelGuiElement::setBorderSize(), Ogre::TTYGuiElement::setCharHeight(), setCharHeight(), Ogre::TTYGuiElement::setSpaceWidth(), and setSpaceWidth(). |
|
|
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(). |
|
|
Definition at line 124 of file OgreGuiElement.h. Referenced by Ogre::GuiElement::_updateFromParent(), Ogre::GuiElement::getHorizontalAlignment(), Ogre::GuiElement::GuiElement(), and Ogre::GuiElement::setHorizontalAlignment(). |
|
|
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(). |
|
|
Definition at line 118 of file OgreGuiElement.h. Referenced by Ogre::GuiElement::getMaterialName(), Ogre::GuiElement::setMaterialName(), Ogre::PopupMenuGuiElement::setSelectedItem(), and Ogre::ListGuiElement::setSelectedItem(). |
|
|
Definition at line 123 of file OgreGuiElement.h. Referenced by Ogre::TTYGuiElement::_update(), _update(), Ogre::GuiElement::_update(), Ogre::BorderPanelGuiElement::_update(), Ogre::BorderPanelGuiElement::getBottomBorderSize(), Ogre::TTYGuiElement::getCharHeight(), getCharHeight(), Ogre::GuiElement::getHeight(), Ogre::GuiElement::getLeft(), Ogre::BorderPanelGuiElement::getLeftBorderSize(), Ogre::GuiElement::getMetricsMode(), Ogre::BorderPanelGuiElement::getRightBorderSize(), Ogre::TTYGuiElement::getSpaceWidth(), getSpaceWidth(), Ogre::GuiElement::getTop(), Ogre::BorderPanelGuiElement::getTopBorderSize(), Ogre::GuiElement::getWidth(), Ogre::GuiElement::GuiElement(), Ogre::BorderPanelGuiElement::setBorderSize(), Ogre::TTYGuiElement::setCharHeight(), setCharHeight(), Ogre::GuiElement::setDimensions(), Ogre::GuiElement::setHeight(), Ogre::GuiElement::setLeft(), Ogre::GuiElement::setMetricsMode(), Ogre::GuiElement::setPosition(), Ogre::TTYGuiElement::setSpaceWidth(), setSpaceWidth(), Ogre::GuiElement::setTop(), Ogre::GuiElement::setWidth(), updateGeometry(), Ogre::ButtonGuiElement::updateMaterials(), and Ogre::BorderButtonGuiElement::updateMaterials(). |
|
|
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(). |
|
|
Definition at line 59 of file OgreMouseMotionTarget.h. Referenced by Ogre::MouseMotionTarget::addMouseMotionListener(), Ogre::MouseMotionTarget::MouseMotionTarget(), Ogre::MouseMotionTarget::processMouseMotionEvent(), and Ogre::MouseMotionTarget::removeMouseMotionListener(). |
|
|
Definition at line 63 of file OgreMouseTarget.h. Referenced by Ogre::MouseTarget::isMouseWithin(), Ogre::MouseTarget::MouseTarget(), and Ogre::MouseTarget::processMouseEvent(). |
|
|
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(), Ogre::ButtonGuiElement::setButtonCaption(), Ogre::BorderButtonGuiElement::setButtonCaption(), Ogre::ScrollBarGuiElement::setDownButtonName(), Ogre::ListGuiElement::setScrollBarName(), Ogre::ScrollBarGuiElement::setScrollBitName(), Ogre::ListGuiElement::setSelectedIndex(), Ogre::TextBoxGuiElement::setTextArea(), and Ogre::ScrollBarGuiElement::setUpButtonName(). |
|
|
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(). |
|
|
Class name for this instance to be used as a lookup (must be initialised by subclasses).
Definition at line 157 of file OgreStringInterface.h. |
|
|
Definition at line 134 of file OgreGuiElement.h. Referenced by Ogre::GuiElement::_notifyParent(), Ogre::GuiElement::_updateFromParent(), Ogre::GuiElement::getParent(), and Ogre::GuiElement::GuiElement(). |
|
|
Definition at line 240 of file OgreTextAreaGuiElement.h. Referenced by getFontName(), setFontName(), TextAreaGuiElement(), and updateGeometry(). |
|
|
Definition at line 242 of file OgreTextAreaGuiElement.h. Referenced by _update(), getCharHeight(), setCharHeight(), setMetricsMode(), and TextAreaGuiElement(). |
|
|
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(). |
|
|
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(). |
|
|
Definition at line 244 of file OgreTextAreaGuiElement.h. Referenced by _update(), getSpaceWidth(), setMetricsMode(), setSpaceWidth(), and TextAreaGuiElement(). |
|
|
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(). |
|
|
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(). |
|
|
Definition at line 119 of file OgreGuiElement.h. Referenced by Ogre::PanelGuiElement::_updateRenderQueue(), Ogre::GuiElement::getMaterial(), Ogre::GuiElement::GuiElement(), Ogre::TTYGuiElement::setFontName(), setFontName(), Ogre::GuiElement::setMaterialName(), and Ogre::PanelGuiElement::updateTextureGeometry(). |
|
|
Render operation.
Definition at line 223 of file OgreTextAreaGuiElement.h. Referenced by checkMemoryAllocation(), getRenderOperation(), initialise(), updateColours(), updateGeometry(), and ~TextAreaGuiElement(). |
|
|
Definition at line 49 of file OgreGuiElement.cpp. Referenced by Ogre::GuiElement::addBaseParameters(). |
|
|
Definition at line 45 of file OgreTextAreaGuiElement.cpp. Referenced by addBaseParameters(). |
|
|
Definition at line 39 of file OgreTextAreaGuiElement.cpp. Referenced by addBaseParameters(). |
|
|
Definition at line 42 of file OgreTextAreaGuiElement.cpp. Referenced by addBaseParameters(). |
|
|
Definition at line 43 of file OgreTextAreaGuiElement.cpp. Referenced by addBaseParameters(). |
|
|
Definition at line 44 of file OgreTextAreaGuiElement.cpp. Referenced by addBaseParameters(). |
|
|
Definition at line 41 of file OgreTextAreaGuiElement.cpp. Referenced by addBaseParameters(). |
|
|
Definition at line 40 of file OgreTextAreaGuiElement.cpp. Referenced by addBaseParameters(). |
|
|
Dictionary of parameters.
Definition at line 30 of file OgreStringInterface.cpp. |
|
|
Definition at line 47 of file OgreGuiElement.cpp. Referenced by Ogre::GuiElement::addBaseParameters(). |
|
|
Definition at line 51 of file OgreGuiElement.cpp. Referenced by Ogre::GuiElement::addBaseParameters(). |
|
|
Definition at line 44 of file OgreGuiElement.cpp. Referenced by Ogre::GuiElement::addBaseParameters(). |
|
|
Definition at line 48 of file OgreGuiElement.cpp. Referenced by Ogre::GuiElement::addBaseParameters(). |
|
|
Definition at line 50 of file OgreGuiElement.cpp. Referenced by Ogre::GuiElement::addBaseParameters(). |
|
|
Definition at line 243 of file OgreTextAreaGuiElement.h. Referenced by _update(), getSpaceWidth(), setMetricsMode(), setSpaceWidth(), TextAreaGuiElement(), and updateGeometry(). |
|
|
Definition at line 45 of file OgreGuiElement.cpp. Referenced by Ogre::GuiElement::addBaseParameters(). |
|
|
Definition at line 38 of file OgreTextAreaGuiElement.cpp. Referenced by getTypeName(). |
|
|
Definition at line 52 of file OgreGuiElement.cpp. Referenced by Ogre::GuiElement::addBaseParameters(). |
|
|
Definition at line 53 of file OgreGuiElement.cpp. Referenced by Ogre::GuiElement::addBaseParameters(). |
|
|
Definition at line 46 of file OgreGuiElement.cpp. Referenced by Ogre::GuiElement::addBaseParameters(). |
|
|
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(). |
|
|
Flag indicating if this panel should be visual or just group things.
Definition at line 220 of file OgreTextAreaGuiElement.h. Referenced by TextAreaGuiElement(). |
|
|
Definition at line 125 of file OgreGuiElement.h. Referenced by Ogre::GuiElement::_updateFromParent(), Ogre::GuiElement::getVerticalAlignment(), Ogre::GuiElement::GuiElement(), and Ogre::GuiElement::setVerticalAlignment(). |
|
|
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(). |
|
|
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(). |
|
|
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(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Wed Jan 21 00:15:13 2004