vgui_font_bitmap Class Reference

#include <vgui_font_bitmap.h>

Inheritance diagram for vgui_font_bitmap:

vgui_font vbl_ref_count List of all members.

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.


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

Member Enumeration Documentation

enum vgui_font_bitmap::bitmap_font_type

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 (  )  [virtual]

Destructor.

Definition at line 64 of file vgui_font_bitmap.cxx.


Member Function Documentation

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.

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.


Member Data Documentation

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.


The documentation for this class was generated from the following files:
Generated on Mon Nov 23 05:12:04 2009 for core/vgui by  doxygen 1.5.1