CPPGPGPU Library - Reference (Doxygen)

Main Page | General Use | Reference | Examples Info | Get/Download CPPGPGPU | SF.net Page

TextNode Class Reference

#include <TextNode.h>

Inheritance diagram for TextNode:

NodeObject

List of all members.

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


Detailed Description

Definition at line 7 of file TextNode.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

TextNode::CLASS_RTTI ( TextNode  ,
NodeObject   
)

void TextNode::SetText ( const string sText  )  [virtual]

Definition at line 4 of file TextNode.cpp.

void TextNode::Render (  )  [virtual]

Render object.

Reimplemented from NodeObject.

Definition at line 32 of file TextNode.cpp.

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.


Member Data Documentation

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.


The documentation for this class was generated from the following files:
© 2005-2007 Charles Lohr, Joshua Allen, David Chapman, Andrew Lohr. All material including documentation under the MIT/X11 license.