aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure
diff options
context:
space:
mode:
authorEugene Sandulenko2016-10-06 23:48:50 +0200
committerEugene Sandulenko2016-10-06 23:49:39 +0200
commitb2dcd1bb1ef920e7723501c9500a8ef0348be03a (patch)
treeda8a53526126c8edc7195bcbbb7317cbc6ff0e81 /engines/macventure
parent59a7993951d80d2db651e773f3bb16b12e3f6f56 (diff)
downloadscummvm-rg350-b2dcd1bb1ef920e7723501c9500a8ef0348be03a.tar.gz
scummvm-rg350-b2dcd1bb1ef920e7723501c9500a8ef0348be03a.tar.bz2
scummvm-rg350-b2dcd1bb1ef920e7723501c9500a8ef0348be03a.zip
GRAPHICS: Move font-related MacGUI code to MacFontManager
Diffstat (limited to 'engines/macventure')
-rw-r--r--engines/macventure/gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/macventure/gui.cpp b/engines/macventure/gui.cpp
index 9e0a6e9f00..3b7c3a244b 100644
--- a/engines/macventure/gui.cpp
+++ b/engines/macventure/gui.cpp
@@ -33,6 +33,7 @@
#include "common/debug-channels.h"
#include "common/debug.h"
#include "image/bmp.h"
+#include "graphics/macgui/macfontmanager.h"
#include "macventure/gui.h"
#include "macventure/dialog.h"
@@ -266,7 +267,7 @@ const WindowData &Gui::getWindowData(WindowReference reference) {
}
const Graphics::Font &Gui::getCurrentFont() {
- return *_wm.getFont("Chicago-12", Graphics::FontManager::kBigGUIFont);
+ return *_wm._fontMan->getFont(Graphics::MacFont(Graphics::kMacFontChicago, 12));
}
void Gui::bringToFront(WindowReference winID) {