From fab749cbe6ab0155bf3db17d013ad593e009ab33 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 26 Apr 2016 11:17:56 +0200 Subject: WAGE: More abstraction to menu rendering --- engines/wage/macwindowmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/wage/macwindowmanager.cpp') diff --git a/engines/wage/macwindowmanager.cpp b/engines/wage/macwindowmanager.cpp index b143f90db4..cef7f0ab19 100644 --- a/engines/wage/macwindowmanager.cpp +++ b/engines/wage/macwindowmanager.cpp @@ -100,8 +100,8 @@ MacWindow *MacWindowManager::addWindow(bool scrollable, bool resizable) { return w; } -Menu *MacWindowManager::addMenu(Gui *g) { - _menu = new Menu(_lastId, g); +Menu *MacWindowManager::addMenu(Graphics::ManagedSurface *screen, Gui *g) { + _menu = new Menu(_lastId, screen, g); _windows.push_back(_menu); -- cgit v1.2.3