diff options
author | Eugene Sandulenko | 2016-04-28 10:10:47 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-04-28 10:22:13 +0200 |
commit | bbd107825f7673788ea43b7093e7855daded553b (patch) | |
tree | 8dce078b07a8bf8c1d26cbb22897946ce81d3cce /engines/wage/gui.cpp | |
parent | 137d6b97276b3bde1a1c13eecd8f0ebe580cb7d9 (diff) | |
download | scummvm-rg350-bbd107825f7673788ea43b7093e7855daded553b.tar.gz scummvm-rg350-bbd107825f7673788ea43b7093e7855daded553b.tar.bz2 scummvm-rg350-bbd107825f7673788ea43b7093e7855daded553b.zip |
WAGE: Decoupled Window class too
Diffstat (limited to 'engines/wage/gui.cpp')
-rw-r--r-- | engines/wage/gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index a3705dd267..92b936f3e5 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -183,10 +183,11 @@ Gui::Gui(WageEngine *engine) { _patterns.push_back(fillPatterns[i]); loadFonts(); + _wm.setBuiltInFonts(_builtInFonts); g_system->getTimerManager()->installTimerProc(&cursorTimerHandler, 200000, this, "wageCursor"); - _menu = _wm.addMenu(_builtInFonts, this); + _menu = _wm.addMenu(this); _sceneWindow = _wm.addWindow(false, false); _sceneWindow->setCallback(sceneWindowCallback, this); |