Add: MockFontCache for testing GUI code that only needs to know font sizes.
This commit is contained in:

committed by
Peter Nelson

parent
af4c7799fe
commit
46f63074da
@@ -19,9 +19,8 @@ static const GlyphID SPRITE_GLYPH = 1U << 30;
|
||||
|
||||
/** Font cache for basic fonts. */
|
||||
class FontCache {
|
||||
private:
|
||||
static FontCache *caches[FS_END]; ///< All the font caches.
|
||||
protected:
|
||||
static FontCache *caches[FS_END]; ///< All the font caches.
|
||||
FontCache *parent; ///< The parent of this font cache.
|
||||
const FontSize fs; ///< The size of the font.
|
||||
int height; ///< The height of the font.
|
||||
|
Reference in New Issue
Block a user