$search

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>

Inheritance diagram for ogre_tools::StaticText:
Inheritance graph
[legend]

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:
caption text
fontName name of the font family
charHeight height of the characters
color color 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.

Reimplemented from ogre_tools::MovableText.

Definition at line 62 of file static_text.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


srs_ui_but
Author(s): Vit Stancl (stancl@fit.vutbr.cz), Michal Spanel (spanel@fit.vutbr.cz), Tomas Lokaj
autogenerated on Wed Mar 6 03:26:02 2013