40 #ifndef _GLS_FONT_MAN_H
41 #define _GLS_FONT_MAN_H
51 #define GLS_UNICODE_FONT_NAME_PREFIX "$$GLS_UNICODE_FONT$$"
54 #define GLS_RUNTIME_FONT_NAME_PREFIX "$$GLS_RUNTIME_FONT$$"
81 const std::string& name,
82 const std::string& style,
120 FontRef_t() : font(0), refCount(0) {}
121 FontRef_t(
GlsFontBase* newFont, GLint initialCount) :
122 font(newFont), refCount(initialCount) {}
125 typedef std::map<std::string, FontRef_t> FontMap_t;
136 GlsFontMan(
const GlsFontMan&);
137 GlsFontMan& operator=(
const GlsFontMan&);
GlsFontBase * Font(const std::string &name, const std::string &style, GLuint ptSize) const
void Use(GlsFontBase *font)
void Release(GlsFontBase *font)
static GlsFontMan & Instance()
Definition: gls_font_man.h:63
Definition: bmpimage.h:46
void Register(GlsFontBase *font)
Definition: gls_font_base.h:87