Public Member Functions | Private Attributes
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:
idunique string ID
pos_xx position of the text box
pos_yy position of the text box
widthwidth of the text box
heightheight of the text box

Definition at line 52 of file text_output.h.

Destructor.


Member Function Documentation

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

Sets color of the text

Parameters:
coloris 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:
sizeis 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:
textis 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:


srs_ui_but
Author(s): Vit Stancl (stancl@fit.vutbr.cz), Michal Spanel (spanel@fit.vutbr.cz), Tomas Lokaj
autogenerated on Mon Oct 6 2014 08:49:30