Public Member Functions | Protected Member Functions
ogre_tools::StaticText Class Reference

This class overrides MovableText class in order to show non-movable static text in the scene. More...

#include <static_text.h>

List of all members.

Public Member Functions

 StaticText (const Ogre::String &caption, const Ogre::String &fontName="Arial", Ogre::Real charHeight=1.0, const Ogre::ColourValue &color=Ogre::ColourValue::White)
 Constructor.

Protected Member Functions

void getWorldTransforms (Ogre::Matrix4 *xform) const
 Overriden method which causes static behaviour.

Detailed Description

This class overrides MovableText class in order to show non-movable static text in the scene.

Author:
Tomas Lokaj

Definition at line 42 of file static_text.h.


Constructor & Destructor Documentation

ogre_tools::StaticText::StaticText ( const Ogre::String &  caption,
const Ogre::String &  fontName = "Arial",
Ogre::Real  charHeight = 1.0,
const Ogre::ColourValue &  color = Ogre::ColourValue::White 
) [inline]

Constructor.

Parameters:
captiontext
fontNamename of the font family
charHeightheight of the characters
colorcolor of the text

Definition at line 52 of file static_text.h.


Member Function Documentation

void ogre_tools::StaticText::getWorldTransforms ( Ogre::Matrix4 *  xform) const [inline, protected]

Overriden method which causes static behaviour.

Definition at line 62 of file static_text.h.


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


srs_ui_but
Author(s): Vit Stancl (stancl@fit.vutbr.cz), Michal Spanel (spanel@fit.vutbr.cz), Tomas Lokaj
autogenerated on Sun Jan 5 2014 12:12:50