From 2991871d03a93e3ea543f23d10586d428ffbccc7 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 26 Jan 2017 18:50:33 +0100 Subject: GRAPHICS: Refactor Mac font loading into per file method --- graphics/macgui/macfontmanager.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'graphics/macgui/macfontmanager.h') diff --git a/graphics/macgui/macfontmanager.h b/graphics/macgui/macfontmanager.h index 8c1ed5025c..6d6122e2e7 100644 --- a/graphics/macgui/macfontmanager.h +++ b/graphics/macgui/macfontmanager.h @@ -25,6 +25,10 @@ #include "graphics/fontman.h" +namespace Common { + class SeekableReadStream; +} + namespace Graphics { class MacFONTFont; @@ -122,6 +126,8 @@ public: const char *getFontName(MacFont &font); int getFontIdByName(Common::String name); + void loadFontsFromStream(Common::SeekableReadStream *stream); + private: void loadFontsBDF(); void loadFonts(); -- cgit v1.2.3