From 2aef67c0acdffea281daf5cea3aac055bee17d05 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 3 Jan 2016 12:39:29 +0100 Subject: WAGE: Refactored font querying --- engines/wage/gui.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/wage/gui.h') 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; -- cgit v1.2.3