Thrive
Public Attributes | List of all members
thrive::TextOverlayComponent::Properties Struct Reference

Properties. More...

#include <text_overlay.h>

Inheritance diagram for thrive::TextOverlayComponent::Properties:
thrive::Touchable

Public Attributes

Ogre::Real charHeight = 16.0f
 The character height in pixels.
 
Ogre::ColourValue colour = Ogre::ColourValue::White
 Text colour.
 
Ogre::String fontName = "Thrive"
 Font name.
 
Ogre::Real height = 100.0f
 Textbox height in pixels.
 
Ogre::GuiHorizontalAlignment horizontalAlignment = Ogre::GHA_LEFT
 Horizontal alignment relative to screen.
 
Ogre::Real left = 0.0
 Offset relative to screen anchor in pixels. More...
 
Ogre::String text = ""
 Text to display.
 
Ogre::Real top = 0.0
 Offset relative to screen anchor in pixels. More...
 
Ogre::GuiVerticalAlignment verticalAlignment = Ogre::GVA_TOP
 Vertical alignment relative to screen.
 
Ogre::Real width = 100.0f
 Textbox width in pixels.
 

Additional Inherited Members

- Public Member Functions inherited from thrive::Touchable
bool hasChanges () const
 Whether this Touchable has unapplied changes.
 
void touch ()
 Marks the Touchable as changed.
 
void untouch ()
 Marks all changes as applied.
 
- Static Public Member Functions inherited from thrive::Touchable
static luabind::scope luaBindings ()
 Lua bindings. More...
 

Detailed Description

Properties.

Member Data Documentation

Ogre::Real thrive::TextOverlayComponent::Properties::left = 0.0

Offset relative to screen anchor in pixels.

Positive is to the right.

Ogre::Real thrive::TextOverlayComponent::Properties::top = 0.0

Offset relative to screen anchor in pixels.

Positive is downwards


The documentation for this struct was generated from the following file: