From 6b13782967b8b775c359b0ff54e7a17534248dbe Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Sun, 22 May 2011 15:43:35 +0100 Subject: GRAPHICS: Move genLocalizedFontFilename() to FontManager class It was defined in ThemeEngine class , but I moved it to make it possible to use localized font in other places. --- graphics/fontman.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'graphics/fontman.h') diff --git a/graphics/fontman.h b/graphics/fontman.h index a388c64bf6..e502c9517e 100644 --- a/graphics/fontman.h +++ b/graphics/fontman.h @@ -74,6 +74,15 @@ public: */ const Font *getFontByUsage(FontUsage usage) const; + /** + * Get the localized font for the current TranslationManager charset from the + * non localized font name + * + * @param filename the non-localized font file name. + * @return The localized font file name. + */ + Common::String genLocalizedFontFilename(const Common::String &filename) const; + //const Font *getFontBySize(int size???) const; -- cgit v1.2.3