diff options
author | rubidium <rubidium@openttd.org> | 2011-11-19 21:02:37 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-19 21:02:37 +0000 |
commit | 4e1c4f90794eac4d63a08da41e75427950a50929 (patch) | |
tree | 51bbd7d840fbb14cb00e50b52f8dcf4d5f3d3eee /src/strings_func.h | |
parent | 02bff061f85f68bc6ad35e5777b3bf6b0ecedb5e (diff) | |
download | openttd-4e1c4f90794eac4d63a08da41e75427950a50929.tar.xz |
(svn r23267) -Codechange: unify the font name setting of the font cache
Diffstat (limited to 'src/strings_func.h')
-rw-r--r-- | src/strings_func.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/strings_func.h b/src/strings_func.h index a95b316e2..d1916fe7e 100644 --- a/src/strings_func.h +++ b/src/strings_func.h @@ -222,6 +222,13 @@ public: */ virtual void Reset() = 0; + /** + * Set the right font names. + * @param settings The settings to modify. + * @param font_name The new font name. + */ + virtual void SetFontNames(struct FreeTypeSettings *settings, const char *font_name) = 0; + bool FindMissingGlyphs(const char **str); }; |