$search

ogre_tools::TextOutput Class Reference

This class shows output strings in the Ogre scene window. More...

#include <text_output.h>

List of all members.

Public Member Functions

void setColor (const Ogre::ColourValue &color)
void setFontSize (const int &size)
void setText (const std::string &Text)
 TextOutput (const std::string &id, Ogre::Real pos_x, Ogre::Real pos_y, Ogre::Real width, Ogre::Real height)
 Constructor.
 ~TextOutput ()
 Destructor.

Private Attributes

std::string id_
Ogre::Overlay * overlay_
Ogre::OverlayManager * overlayManager_
Ogre::OverlayContainer * panel_
Ogre::OverlayElement * textBox_

Detailed Description

This class shows output strings in the Ogre scene window.

Definition at line 39 of file text_output.h.


Constructor & Destructor Documentation

ogre_tools::TextOutput::TextOutput ( const std::string &  id,
Ogre::Real  pos_x,
Ogre::Real  pos_y,
Ogre::Real  width,
Ogre::Real  height 
) [inline]

Constructor.

Parameters:
id unique string ID
pos_x x position of the text box
pos_y y position of the text box
width width of the text box
height height of the text box

Definition at line 52 of file text_output.h.

ogre_tools::TextOutput::~TextOutput (  ) 

Destructor.


Member Function Documentation

void ogre_tools::TextOutput::setColor ( const Ogre::ColourValue &  color  )  [inline]

Sets color of the text

Parameters:
color is color of the text

Definition at line 94 of file text_output.h.

void ogre_tools::TextOutput::setFontSize ( const int &  size  )  [inline]

Sets size of the font

Parameters:
size is size of the ofnt

Definition at line 103 of file text_output.h.

void ogre_tools::TextOutput::setText ( const std::string &  Text  )  [inline]

Sets text

Parameters:
text is text

Definition at line 85 of file text_output.h.


Member Data Documentation

std::string ogre_tools::TextOutput::id_ [private]

Definition at line 115 of file text_output.h.

Ogre::Overlay* ogre_tools::TextOutput::overlay_ [private]

Definition at line 113 of file text_output.h.

Ogre::OverlayManager* ogre_tools::TextOutput::overlayManager_ [private]

Definition at line 112 of file text_output.h.

Ogre::OverlayContainer* ogre_tools::TextOutput::panel_ [private]

Definition at line 114 of file text_output.h.

Ogre::OverlayElement* ogre_tools::TextOutput::textBox_ [private]

Definition at line 111 of file text_output.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