diff options
author | Eugene Sandulenko | 2019-10-17 01:42:44 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-10-17 01:42:44 +0200 |
commit | 6100de0b3a0f869b0dc94b5f961c60206b264bf1 (patch) | |
tree | 174a062fc1899a5b0f8312e121414d8d55cec989 /graphics/macgui/macfontmanager.h | |
parent | 690370554feaec28aae486816702bb108019c113 (diff) | |
download | scummvm-rg350-6100de0b3a0f869b0dc94b5f961c60206b264bf1.tar.gz scummvm-rg350-6100de0b3a0f869b0dc94b5f961c60206b264bf1.tar.bz2 scummvm-rg350-6100de0b3a0f869b0dc94b5f961c60206b264bf1.zip |
GRAPHICS: MACGUI: Add possibility to set WM mode right away
This lets us to not load mac fonts when the built-in mode in enforced
Diffstat (limited to 'graphics/macgui/macfontmanager.h')
-rw-r--r-- | graphics/macgui/macfontmanager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/macgui/macfontmanager.h b/graphics/macgui/macfontmanager.h index 62972026dc..d274657bbf 100644 --- a/graphics/macgui/macfontmanager.h +++ b/graphics/macgui/macfontmanager.h @@ -102,7 +102,7 @@ private: class MacFontManager { public: - MacFontManager(); + MacFontManager(uint32 mode); /** * Accessor method to check the presence of built-in fonts. @@ -145,6 +145,7 @@ private: private: bool _builtInFonts; + uint32 _mode; Common::HashMap<Common::String, MacFont *> _fontRegistry; Common::HashMap<Common::String, int> _fontIds; |