aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/macgui/macwindowmanager.cpp4
-rw-r--r--graphics/macgui/macwindowmanager.h12
2 files changed, 6 insertions, 10 deletions
diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp
index dc2c46c30d..7d919a4d6b 100644
--- a/graphics/macgui/macwindowmanager.cpp
+++ b/graphics/macgui/macwindowmanager.cpp
@@ -158,8 +158,8 @@ MacWindow *MacWindowManager::addWindow(bool scrollable, bool resizable, bool edi
return w;
}
-Wage::Menu *MacWindowManager::addMenu() {
- _menu = new Wage::Menu(_lastId, _screen->getBounds(), this);
+Menu *MacWindowManager::addMenu() {
+ _menu = new Menu(_lastId, _screen->getBounds(), this);
_windows.push_back(_menu);
diff --git a/graphics/macgui/macwindowmanager.h b/graphics/macgui/macwindowmanager.h
index 9a8be93aa8..e30d2d8734 100644
--- a/graphics/macgui/macwindowmanager.h
+++ b/graphics/macgui/macwindowmanager.h
@@ -56,12 +56,6 @@
#include "graphics/fontman.h"
#include "graphics/macgui/macwindow.h"
-namespace Wage {
- class MacWindow;
- class BaseMacWindow;
- class Menu;
-}
-
namespace Graphics {
enum {
@@ -85,6 +79,8 @@ enum {
class ManagedSurface;
+class Menu;
+
typedef Common::Array<byte *> Patterns;
class MacWindowManager {
@@ -97,7 +93,7 @@ public:
const Font *getFont(const char *name, FontManager::FontUsage fallback);
MacWindow *addWindow(bool scrollable, bool resizable, bool editable);
- Wage::Menu *addMenu();
+ Menu *addMenu();
void setActive(int id);
void setFullRefresh(bool redraw) { _fullRefresh = true; }
@@ -131,7 +127,7 @@ private:
Patterns _patterns;
- Wage::Menu *_menu;
+ Menu *_menu;
bool _builtInFonts;
bool _cursorIsArrow;