Public Methods |
| BFont (Game *pgame, const char *fontbitmapfile) |
| ~BFont () |
bool | loadFontMetrics (const char *filename) |
int | getLineHeight () |
int | getCharWidth (unsigned char ch) |
int | getCharXPos (unsigned char ch) |
int | getCharYPos (unsigned char ch) |
int | getTextureID () |
Texture * | getTexture () |
int | getBlockWidth () |
void | getRGBA (float &fr, float &fg, float &fb, float &fa) |
void | getHotkeyRGBA (float &fr, float &fg, float &fb, float &fa) |
void | setRGBA (float fr, float fg, float fb, float fa) |
void | setHotkeyRGBA (float fr, float fg, float fb, float fa) |
Private Attributes |
float | r |
float | g |
float | b |
float | a |
float | hr |
float | hg |
float | hb |
float | ha |
Game * | game |
bool | metricsloaded |
Texture * | texture |
int | widths [256] |
int | stretching |