![]() |
Gorgon Game Engine
|
Classes | |
struct | HashType |
Public Types | |
enum | Style : unsigned int { Normal, Italic, Bold, Large, Custom, End } |
Public Member Functions | |
FontFamily (const std::unordered_map< Style, GlyphRenderer *, HashType > fonts) | |
void | AddFont (Style style, GlyphRenderer *renderer) |
GlyphRenderer * | GetGlyphRenderer (Style style) |
bool | HasFont (Style style) const |
void | RemoveFont (Style style) |
|
strong |
FontFamily | ( | const std::unordered_map< Style, GlyphRenderer *, HashType > | fonts | ) |
void AddFont | ( | Style | style, |
GlyphRenderer * | renderer | ||
) |
GlyphRenderer* GetGlyphRenderer | ( | Style | style | ) |
References ASSERT, Gorgon::end(), FontFamily::End, HR_LOG_ERROR, HR_LOG_NOTICE, and FontFamily::Normal.
bool HasFont | ( | Style | style | ) | const |
void RemoveFont | ( | Style | style | ) |