diff options
Diffstat (limited to 'engines/macventure/gui.h')
-rw-r--r-- | engines/macventure/gui.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/engines/macventure/gui.h b/engines/macventure/gui.h index 810779363b..eb5197bd8d 100644 --- a/engines/macventure/gui.h +++ b/engines/macventure/gui.h @@ -30,8 +30,29 @@ namespace MacVenture { using namespace Graphics::MacGUIConstants; +using namespace Graphics::MacWindowConstants; class MacVentureEngine; +//namespace MacVentureMenuActions { +enum MenuAction { + kMenuActionAbout, + kMenuActionNew, + kMenuActionOpen, + kMenuActionSave, + kMenuActionSaveAs, + kMenuActionQuit, + kMenuActionUndo, + kMenuActionCut, + kMenuActionCopy, + kMenuActionPaste, + kMenuActionClear, + kMenuActionCleanUp, + kMenuActionMessUp, + + kMenuActionCommand +}; +//} using namespace MacVentureMenuActions; + class Gui { public: @@ -40,6 +61,7 @@ public: void draw(); bool processEvent(Common::Event &event); + void handleMenuAction(MenuAction action); private: // Attributes @@ -56,7 +78,7 @@ private: // Methods void initGUI(); bool loadMenus(); - void loadBorder(Graphics::MacWindow * target, Common::String filename, bool active); + void loadBorder(Graphics::MacWindow * target, Common::String filename, bool active); }; |