Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

NiceText Class Reference

#include <NiceText.H>

List of all members.

Public Member Functions

 NiceText (const string &configName, const string &text, Color4 color=Color4(1, 1, 1, 1), FTFont *font=NULL)
virtual ~NiceText ()
void setColor (Color4 color)
Color4 getColor ()
double getWidth ()
double getHeight ()
void draw ()
void setText (const string &text)

Protected Attributes

string _text
FTFont * _font
Color4 _color
double _scaleFactor


Constructor & Destructor Documentation

NiceText::NiceText const string &  configName,
const string &  text,
Color4  color = Color4(1, 1, 1, 1),
FTFont *  font = NULL
 

virtual NiceText::~NiceText  )  [virtual]
 


Member Function Documentation

void NiceText::draw  ) 
 

Color4 NiceText::getColor  )  [inline]
 

double NiceText::getHeight  ) 
 

double NiceText::getWidth  ) 
 

void NiceText::setColor Color4  color  )  [inline]
 

void NiceText::setText const string &  text  )  [inline]
 


Member Data Documentation

Color4 NiceText::_color [protected]
 

FTFont* NiceText::_font [protected]
 

double NiceText::_scaleFactor [protected]
 

string NiceText::_text [protected]
 


The documentation for this class was generated from the following file:
Generated on Sun Apr 17 13:34:27 2005 for cavewriting by  doxygen 1.4.0