Public Types | Public Member Functions | Private Attributes
vgui_font_bitmap Class Reference

vgui_font derived class that uses hardcoded fonts. More...

#include <vgui_font_bitmap.h>

Inheritance diagram for vgui_font_bitmap:
Inheritance graph
[legend]

List of all members.

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).

Detailed Description

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.


Member Enumeration Documentation

Enumerator:
BITMAP_FONT_8_13 

Definition at line 24 of file vgui_font_bitmap.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Base display list identifier (i.e., for the first symbol).

Definition at line 41 of file vgui_font_bitmap.h.


The documentation for this class was generated from the following files: