@ -70,17 +70,17 @@ private:
public :
public :
SpriteFontCache ( FontSize fs ) ;
SpriteFontCache ( FontSize fs ) ;
~ SpriteFontCache ( ) ;
~ SpriteFontCache ( ) ;
virtual SpriteID GetUnicodeGlyph ( WChar key ) override ;
SpriteID GetUnicodeGlyph ( WChar key ) override ;
virtual void SetUnicodeGlyph ( WChar key , SpriteID sprite ) override ;
void SetUnicodeGlyph ( WChar key , SpriteID sprite ) override ;
virtual void InitializeUnicodeGlyphMap ( ) override ;
void InitializeUnicodeGlyphMap ( ) override ;
virtual void ClearFontCache ( ) override ;
void ClearFontCache ( ) override ;
virtual const Sprite * GetGlyph ( GlyphID key ) override ;
const Sprite * GetGlyph ( GlyphID key ) override ;
virtual uint GetGlyphWidth ( GlyphID key ) override ;
uint GetGlyphWidth ( GlyphID key ) override ;
virtual bool GetDrawGlyphShadow ( ) override ;
bool GetDrawGlyphShadow ( ) override ;
virtual GlyphID MapCharToGlyph ( WChar key ) override { assert ( IsPrintable ( key ) ) ; return SPRITE_GLYPH | key ; }
GlyphID MapCharToGlyph ( WChar key ) override { assert ( IsPrintable ( key ) ) ; return SPRITE_GLYPH | key ; }
virtual const void * GetFontTable ( uint32 tag , size_t & length ) override { length = 0 ; return nullptr ; }
const void * GetFontTable ( uint32 tag , size_t & length ) override { length = 0 ; return nullptr ; }
virtual const char * GetFontName ( ) { return " sprite " ; }
const char * GetFontName ( ) override { return " sprite " ; }
virtual bool IsBuiltInFont ( ) override { return true ; }
bool IsBuiltInFont ( ) override { return true ; }
} ;
} ;
/**
/**