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

Public Member Functions | |
| GLText () | |
| virtual | ~GLText () |
Static Public Member Functions | |
| static const font_slot_t & | GetFont (char *font_file, int size) |
| static int | RenderText (const char *str, const font_slot_t &font) |
| static int | LoadFont (char *font_file, int size) |
| static void | DelFont (int slot) |
| static int | SetActiveFont (int slot) |
| static int | CheckFont (int slot) |
| static int | GetActiveFont (void) |
| static int | PrintString (const char str[]) |
| static void | PrintStrings (const char str[]) |
| static int | PrintString (std::string str) |
| static void | PrintStrings (std::string str) |
| static void | SetScale (float scale) |
| static void | SetColor (float r, float g, float b, float a) |
| static float | StrLen (const char str[]) |
Protected Member Functions | |
| int | loadFont (char *font_file, int size) |
| void | delFont (int slot) |
| int | setActiveFont (int slot) |
| int | checkFont (int slot) |
| int | getActiveFont (void) |
| int | printString (const char str[]) |
| void | printStrings (const char str[]) |
| void | setScale (float scale) |
| void | setColor (float r, float g, float b, float a) |
| float | strLen (const char str[]) |
| void | setScale (char_info_t *character, float scale) |
Protected Attributes | |
| font_slot_t * | current_font |
| int | current_slot |
Static Protected Attributes | |
| static font_slot_t * | fonts [NUM_FONTS] |
| static font_map_t | fontMap |
| GLText::GLText | ( | ) |
| virtual GLText::~GLText | ( | ) | [virtual] |
| int GLText::checkFont | ( | int | slot | ) | [protected] |
| static int GLText::CheckFont | ( | int | slot | ) | [static] |
| void GLText::delFont | ( | int | slot | ) | [protected] |
| static void GLText::DelFont | ( | int | slot | ) | [static] |
| int GLText::getActiveFont | ( | void | ) | [protected] |
| static int GLText::GetActiveFont | ( | void | ) | [static] |
| static const font_slot_t& GLText::GetFont | ( | char * | font_file, | |
| int | size | |||
| ) | [static] |
| int GLText::loadFont | ( | char * | font_file, | |
| int | size | |||
| ) | [protected] |
| static int GLText::LoadFont | ( | char * | font_file, | |
| int | size | |||
| ) | [static] |
| int GLText::printString | ( | const char | str[] | ) | [protected] |
| static int GLText::PrintString | ( | std::string | str | ) | [static] |
| static int GLText::PrintString | ( | const char | str[] | ) | [static] |
| void GLText::printStrings | ( | const char | str[] | ) | [protected] |
| static void GLText::PrintStrings | ( | std::string | str | ) | [static] |
| static void GLText::PrintStrings | ( | const char | str[] | ) | [static] |
| static int GLText::RenderText | ( | const char * | str, | |
| const font_slot_t & | font | |||
| ) | [static] |
| int GLText::setActiveFont | ( | int | slot | ) | [protected] |
| static int GLText::SetActiveFont | ( | int | slot | ) | [static] |
| void GLText::setColor | ( | float | r, | |
| float | g, | |||
| float | b, | |||
| float | a | |||
| ) | [protected] |
| static void GLText::SetColor | ( | float | r, | |
| float | g, | |||
| float | b, | |||
| float | a | |||
| ) | [static] |
| void GLText::setScale | ( | char_info_t * | character, | |
| float | scale | |||
| ) | [protected] |
| void GLText::setScale | ( | float | scale | ) | [protected] |
| static void GLText::SetScale | ( | float | scale | ) | [static] |
| float GLText::strLen | ( | const char | str[] | ) | [protected] |
| static float GLText::StrLen | ( | const char | str[] | ) | [static] |
font_slot_t* GLText::current_font [protected] |
int GLText::current_slot [protected] |
font_map_t GLText::fontMap [static, protected] |
font_slot_t* GLText::fonts[NUM_FONTS] [static, protected] |
1.4.7