#include <RE_OGLFont.h>

Public Member Functions | |
| RE_OGLFont (const char *name, float size, RE_OGLFontCache *cache) | |
| ~RE_OGLFont () | |
| bool | getListsRequested () |
| void | loadCache (RE_Render *r) |
Protected Member Functions | |
| virtual void | genDisplayLists (RE_Render *r)=0 |
Protected Attributes | |
| RE_OGLFontCache * | myFontCache |
| bool | myListsCreated |
| unsigned int | myDisplayListBase |
| bool | myListsRequested |
Definition at line 29 of file RE_OGLFont.h.
| RE_OGLFont::RE_OGLFont | ( | const char * | name, | |
| float | size, | |||
| RE_OGLFontCache * | cache | |||
| ) |
| RE_OGLFont::~RE_OGLFont | ( | ) |
| virtual void RE_OGLFont::genDisplayLists | ( | RE_Render * | r | ) | [protected, pure virtual] |
Generate display lists for this font. Override this in subclasses, and set myListsCreated to true when they have been.
Implemented in RE_OGLBitmapFont, and RE_OGLTextureFont.
| bool RE_OGLFont::getListsRequested | ( | ) | [inline] |
Get whether this font has deferred its creation of display lists. The cache can, for example, call loadCache at a more convenient time when this is true.
Definition at line 39 of file RE_OGLFont.h.
| void RE_OGLFont::loadCache | ( | RE_Render * | r | ) |
Load this font and generate its display lists. This should be called only when getListsRequested returns false.
unsigned int RE_OGLFont::myDisplayListBase [protected] |
Definition at line 62 of file RE_OGLFont.h.
RE_OGLFontCache* RE_OGLFont::myFontCache [protected] |
Definition at line 55 of file RE_OGLFont.h.
bool RE_OGLFont::myListsCreated [protected] |
Definition at line 59 of file RE_OGLFont.h.
bool RE_OGLFont::myListsRequested [protected] |
Definition at line 66 of file RE_OGLFont.h.
1.5.9