#include <TextNode.h>

Public Member Functions | |
| TextNode (const string &sName) | |
| virtual | ~TextNode () |
| CLASS_RTTI (TextNode, NodeObject) | |
| virtual void | SetText (const string &sText) |
| virtual void | Render () |
| Render object. | |
| void | SetXY (float x, float y) |
Static Private Member Functions | |
| static void | CheckAndLoadFontData () |
Private Attributes | |
| float | m_x |
| float | m_y |
| unsigned char * | NewData |
| int | Width |
| int | RealWidth |
| int | Height |
| Texture | T |
Static Private Attributes | |
| static unsigned int * | FontMapData = 0 |
| static int | FontHeight |
| static int | FontWidth |
Definition at line 7 of file TextNode.h.
| TextNode::TextNode | ( | const string & | sName | ) | [inline] |
Definition at line 10 of file TextNode.h.
| virtual TextNode::~TextNode | ( | ) | [inline, virtual] |
Definition at line 11 of file TextNode.h.
| TextNode::CLASS_RTTI | ( | TextNode | , | |
| NodeObject | ||||
| ) |
| void TextNode::SetText | ( | const string & | sText | ) | [virtual] |
Definition at line 4 of file TextNode.cpp.
| void TextNode::Render | ( | ) | [virtual] |
| void TextNode::SetXY | ( | float | x, | |
| float | y | |||
| ) | [inline] |
Definition at line 18 of file TextNode.h.
| void TextNode::CheckAndLoadFontData | ( | ) | [static, private] |
Definition at line 62 of file TextNode.cpp.
float TextNode::m_x [private] |
Definition at line 20 of file TextNode.h.
float TextNode::m_y [private] |
Definition at line 20 of file TextNode.h.
unsigned char* TextNode::NewData [private] |
Definition at line 23 of file TextNode.h.
int TextNode::Width [private] |
Definition at line 24 of file TextNode.h.
int TextNode::RealWidth [private] |
Definition at line 24 of file TextNode.h.
int TextNode::Height [private] |
Definition at line 25 of file TextNode.h.
Texture TextNode::T [private] |
Definition at line 27 of file TextNode.h.
unsigned int * TextNode::FontMapData = 0 [static, private] |
Definition at line 29 of file TextNode.h.
int TextNode::FontHeight [static, private] |
Definition at line 30 of file TextNode.h.
int TextNode::FontWidth [static, private] |
Definition at line 31 of file TextNode.h.