#include <TextBox.h>
Collaboration diagram for TextBox:

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 |
|
||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.4