vgui_font derived class that uses hardcoded fonts. More...
#include <vgui_font_bitmap.h>
Public Types | |
enum | bitmap_font_type { BITMAP_FONT_8_13 } |
Public Member Functions | |
vgui_font_bitmap (bitmap_font_type t=BITMAP_FONT_8_13) | |
Constructor - default. | |
virtual void | draw (const vcl_string &str) const |
Draw a string of font symbols. | |
virtual | ~vgui_font_bitmap () |
Destructor. | |
virtual void | draw (const vcl_string &str, unsigned int size) const |
Draw a string of font symbols. | |
void | ref () |
void | unref () |
int | get_references () const |
bool | is_referenced () const |
Private Attributes | |
GLuint | display_list_base_id_ |
Base display list identifier (i.e., for the first symbol). |
vgui_font derived class that uses hardcoded fonts.
Currently, it only supports a 8x13 size font type.
Definition at line 21 of file vgui_font_bitmap.h.
Definition at line 24 of file vgui_font_bitmap.h.
vgui_font_bitmap::vgui_font_bitmap | ( | bitmap_font_type | t = BITMAP_FONT_8_13 | ) |
Constructor - default.
Definition at line 26 of file vgui_font_bitmap.cxx.
vgui_font_bitmap::~vgui_font_bitmap | ( | void | ) | [virtual] |
Destructor.
Definition at line 64 of file vgui_font_bitmap.cxx.
void vgui_font::draw | ( | const vcl_string & | str, |
unsigned int | size | ||
) | const [virtual, inherited] |
Draw a string of font symbols.
Reimplemented in vgui_font_textured.
Definition at line 13 of file vgui_font.cxx.
void vgui_font_bitmap::draw | ( | const vcl_string & | str | ) | const [virtual] |
Draw a string of font symbols.
Implements vgui_font.
Definition at line 70 of file vgui_font_bitmap.cxx.
GLuint vgui_font_bitmap::display_list_base_id_ [private] |
Base display list identifier (i.e., for the first symbol).
Definition at line 41 of file vgui_font_bitmap.h.