aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2017-07-30 08:57:08 +0200
committerEugene Sandulenko2017-08-01 10:42:21 +0200
commit042b3dc60e82592b714129d96f82fd7fb04b8aea (patch)
treefdf6ea3213d20b80a96efa5d481a59247e668bd4 /engines/wage
parent9fe79b9e198740c4544bb56784c9b861c8113e6f (diff)
downloadscummvm-rg350-042b3dc60e82592b714129d96f82fd7fb04b8aea.tar.gz
scummvm-rg350-042b3dc60e82592b714129d96f82fd7fb04b8aea.tar.bz2
scummvm-rg350-042b3dc60e82592b714129d96f82fd7fb04b8aea.zip
WAGE: Switched Console window to MacTextWindow
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/gui.cpp2
-rw-r--r--engines/wage/gui.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index 541b7ff630..377816b448 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -181,7 +181,7 @@ Gui::Gui(WageEngine *engine) {
uint maxWidth = _screen.w;
- _consoleWindow = new Graphics::MacTextWindow(&_wm, font, kColorBlack, kColorWhite, maxWidth, Graphics::kTextAlignLeft);
+ _consoleWindow = _wm.addTextWindow(font, kColorBlack, kColorWhite, maxWidth, Graphics::kTextAlignLeft);
#else
_consoleWindow = _wm.addWindow(true, true, true);
#endif // USE_MACTEXTWINDOW
diff --git a/engines/wage/gui.h b/engines/wage/gui.h
index 53e6f998d6..64d40bd228 100644
--- a/engines/wage/gui.h
+++ b/engines/wage/gui.h
@@ -49,7 +49,7 @@
#define WAGE_GUI_H
// Whether to use the new MacTextWindow class for rendering the console
-// #define USE_MACTEXTWINDOW
+#define USE_MACTEXTWINDOW
#include "common/str-array.h"
#include "graphics/font.h"