OpenGLFont Class Reference
[OpenGL Module]

#include <openglfont.h>

Inheritance diagram for OpenGLFont:

Font Resource Root Object TreeNode< Root > Referenced Counted Serialized List< Root > ListNode< Root >

List of all members.

Public Member Functions

 OpenGLFont (const char *id)
virtual ~OpenGLFont ()
virtual ulong_t GetDataSize ()
virtual void Print (const string &text) const

Protected Member Functions

virtual bool LoadResource ()
virtual void UnloadResource ()
bool LoadGlyph (FontFile *font_file, ulong_t char_code)

Protected Attributes

Ref< OpenGLGfxServergl_gfx_server
GLuint * glid
GLuint list_base
ulong_t data_size

Constructor & Destructor Documentation

OpenGLFont::OpenGLFont ( const char *  id  ) 

OpenGLFont::~OpenGLFont (  )  [virtual]

Member Function Documentation

ulong_t OpenGLFont::GetDataSize (  )  [virtual]

Return an estimated byte size of the resource data. This is only used for statistics.

Reimplemented from Resource.

void OpenGLFont::Print ( const string &  text  )  const [virtual]

Prints given text.

Reimplemented from Font.

bool OpenGLFont::LoadResource (  )  [protected, virtual]

Load the texture resource.

Reimplemented from Resource.

void OpenGLFont::UnloadResource (  )  [protected, virtual]

Unload everything.

Reimplemented from Resource.

bool OpenGLFont::LoadGlyph ( FontFile font_file,
ulong_t  char_code 
) [protected]

Member Data Documentation

Ref<OpenGLGfxServer> OpenGLFont::gl_gfx_server [protected]

GLuint* OpenGLFont::glid [protected]

GLuint OpenGLFont::list_base [protected]

ulong_t OpenGLFont::data_size [protected]

The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:33 2007 for Dark Oberon by  doxygen 1.5.3