diff options
author | Eugene Sandulenko | 2017-07-30 08:57:08 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-01 10:42:21 +0200 |
commit | 042b3dc60e82592b714129d96f82fd7fb04b8aea (patch) | |
tree | fdf6ea3213d20b80a96efa5d481a59247e668bd4 | |
parent | 9fe79b9e198740c4544bb56784c9b861c8113e6f (diff) | |
download | scummvm-rg350-042b3dc60e82592b714129d96f82fd7fb04b8aea.tar.gz scummvm-rg350-042b3dc60e82592b714129d96f82fd7fb04b8aea.tar.bz2 scummvm-rg350-042b3dc60e82592b714129d96f82fd7fb04b8aea.zip |
WAGE: Switched Console window to MacTextWindow
-rw-r--r-- | engines/wage/gui.cpp | 2 | ||||
-rw-r--r-- | engines/wage/gui.h | 2 |
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" |