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

TextBox Class Reference

#include <TextBox.h>

Collaboration diagram for TextBox:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TextBox (char *text, int charLine, point3d topLeft, point3d bottomRight, double duration=4, bool deform=true, bool scrolling=false)
 ~TextBox ()
void stepTime (double amount)
void draw ()
point3d getLocation ()
void destroy ()
void setColor (recColor _myColor)

Private Member Functions

void drawLine (point3d where, int startx, int starty, int offsetx, int offsety, double scale)
void drawChar (char c, point3d where, double height)
uint32_t getBitmap (char c)

Private Attributes

point3d tl
point3d br
recColor myColor
char * text
int charLine
bool deform
bool scrolling
double elapsedTime
double duration
GLuint dList

Constructor & Destructor Documentation

TextBox::TextBox char *  text,
int  charLine,
point3d  topLeft,
point3d  bottomRight,
double  duration = 4,
bool  deform = true,
bool  scrolling = false
 

TextBox::~TextBox  ) 
 


Member Function Documentation

void TextBox::destroy  ) 
 

void TextBox::draw  ) 
 

void TextBox::drawChar char  c,
point3d  where,
double  height
[private]
 

void TextBox::drawLine point3d  where,
int  startx,
int  starty,
int  offsetx,
int  offsety,
double  scale
[private]
 

uint32_t TextBox::getBitmap char  c  )  [private]
 

point3d TextBox::getLocation  ) 
 

void TextBox::setColor recColor  _myColor  )  [inline]
 

void TextBox::stepTime double  amount  ) 
 


Member Data Documentation

point3d TextBox::br [private]
 

int TextBox::charLine [private]
 

bool TextBox::deform [private]
 

GLuint TextBox::dList [private]
 

double TextBox::duration [private]
 

double TextBox::elapsedTime [private]
 

recColor TextBox::myColor [private]
 

bool TextBox::scrolling [private]
 

char* TextBox::text [private]
 

point3d TextBox::tl [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Aug 18 03:45:55 2009 for HOG by doxygen 1.3.4