Go to the documentation of this file.
27 #ifndef _TextAreaOverlayElement_H__
28 #define _TextAreaOverlayElement_H__
111 mGeomPositionsOutOfDate =
true;
Command object for setting the constant colour.
static CmdCharHeight msCmdCharHeight
Abstract definition of a 2D element to be displayed in an Overlay.
virtual void updatePositionGeometry()
Inherited function.
String doGet(const void *target) const
bool mTransparent
Flag indicating if this panel should be visual or just group things.
String doGet(const void *target) const
Command object for setting the caption.
void setMetricsMode(GuiMetricsMode gmm)
Overridden from OverlayElement.
void _update(void)
Overridden from OverlayElement.
String doGet(const void *target) const
static CmdColour msCmdColour
GuiMetricsMode
Enum describing how the position / size of an element is to be recorded.
ColourValue mColourBottom
Colours to use for the vertices.
void addBaseParameters(void)
Method for setting up base parameters for this class.
virtual ~TextAreaOverlayElement()
static CmdColourBottom msCmdColourBottom
Real getSpaceWidth() const
const MaterialPtr & getMaterial(void) const
See Renderable.
const String & getFontName() const
void setColourTop(const ColourValue &col)
Sets the colour of the top of the letters.
void doSet(void *target, const String &val)
static CmdFontName msCmdFontName
Command object for setting the top colour.
void doSet(void *target, const String &val)
String doGet(const void *target) const
Abstract class which is command object which gets/sets parameters.
virtual const String & getTypeName(void) const
See OverlayElement.
This class implements an overlay element which contains simple unformatted text.
String doGet(const void *target) const
Command object for setting the alignment.
const ColourValue & getColourTop(void) const
Gets the colour of the top of the letters.
void setFontName(const String &font)
void setMaterialName(const String &matName)
Overridden from OverlayElement.
static CmdAlignment msCmdAlignment
#define _OgreOverlayExport
void getRenderOperation(RenderOperation &op)
See Renderable.
static CmdColourTop msCmdColourTop
String doGet(const void *target) const
Command object for setting the caption.
void doSet(void *target, const String &val)
virtual void updateColours(void)
Updates vertex colours.
void checkMemoryAllocation(size_t numChars)
Internal method to allocate memory, only reallocates when necessary.
Command object for setting the width of a space.
void doSet(void *target, const String &val)
Real getCharHeight() const
String doGet(const void *target) const
void setCharHeight(Real height)
void doSet(void *target, const String &val)
Alignment getAlignment() const
Class representing colour.
virtual void initialise(void)
Initialise gui element.
RenderOperation mRenderOp
Render operation.
TextAreaOverlayElement(const String &name)
Constructor.
virtual void setCaption(const DisplayString &text)
Sets the caption on elements that support it.
void setColour(const ColourValue &col)
Sets the colour of the text.
void doSet(void *target, const String &val)
void setColourBottom(const ColourValue &col)
Sets the colour of the bottom of the letters.
const ColourValue & getColour(void) const
Gets the colour of the text.
float Real
Software floating point type.
Alignment mAlignment
The text alignment.
const ColourValue & getColourBottom(void) const
Gets the colour of the bottom of the letters.
Command object for setting the char height.
String doGet(const void *target) const
void doSet(void *target, const String &val)
Command object for setting the bottom colour.
void setAlignment(Alignment a)
virtual void updateTextureGeometry()
Inherited function.
'New' rendering operation using vertex buffers.
void doSet(void *target, const String &val)
void setSpaceWidth(Real width)
static CmdSpaceWidth msCmdSpaceWidth
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.