diff options
Diffstat (limited to 'src/fontcache.h')
-rw-r--r-- | src/fontcache.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fontcache.h b/src/fontcache.h index 8148cba3c..726ba4d9f 100644 --- a/src/fontcache.h +++ b/src/fontcache.h @@ -45,6 +45,7 @@ void InitFreeType(); void UninitFreeType(); const Sprite *GetGlyph(FontSize size, uint32 key); uint GetGlyphWidth(FontSize size, uint32 key); +bool GetDrawGlyphShadow(); typedef bool (SetFallbackFontCallback)(const char **); /** @@ -82,6 +83,11 @@ static inline uint GetGlyphWidth(FontSize size, uint32 key) return SpriteExists(sprite) ? GetSprite(sprite, ST_FONT)->width + (size != FS_NORMAL) : 0; } +static inline bool GetDrawGlyphShadow() +{ + return false; +} + #endif /* WITH_FREETYPE */ #endif /* FONTCACHE_H */ |