diff options
author | Eugene Sandulenko | 2016-01-03 12:39:29 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-01-03 12:39:29 +0100 |
commit | 2aef67c0acdffea281daf5cea3aac055bee17d05 (patch) | |
tree | 7865b35dc4b8e74a1d524c5a8ed0c0d9cdc591ad /engines/wage/gui.h | |
parent | 077048032b493c5ee81c0ccefaea9acac1a964ba (diff) | |
download | scummvm-rg350-2aef67c0acdffea281daf5cea3aac055bee17d05.tar.gz scummvm-rg350-2aef67c0acdffea281daf5cea3aac055bee17d05.tar.bz2 scummvm-rg350-2aef67c0acdffea281daf5cea3aac055bee17d05.zip |
WAGE: Refactored font querying
Diffstat (limited to 'engines/wage/gui.h')
-rw-r--r-- | engines/wage/gui.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/wage/gui.h b/engines/wage/gui.h index 28e1934fd4..aafc9b3fec 100644 --- a/engines/wage/gui.h +++ b/engines/wage/gui.h @@ -49,6 +49,8 @@ #define WAGE_GUI_H #include "common/str-array.h" +#include "graphics/font.h" +#include "graphics/fontman.h" #include "graphics/surface.h" #include "common/rect.h" @@ -78,6 +80,10 @@ private: void loadFonts(); void renderMenu(); void flowText(Common::String &str); + const Graphics::Font *getConsoleFont(); + const Graphics::Font *getMenuFont(); + const Graphics::Font *getTitleFont(); + const Graphics::Font *getFont(const char *name, Graphics::FontManager::FontUsage fallback); private: WageEngine *_engine; |