diff options
author | Borja Lorente | 2016-07-29 12:05:46 +0200 |
---|---|---|
committer | Borja Lorente | 2016-07-31 14:05:14 +0200 |
commit | 9ce6fbd0d7faf05fcd62cd9a6ee953cdc63d53cf (patch) | |
tree | 51346d9522af9be38fa26c50561b6e9831997abc /engines/wage/gui.h | |
parent | 1080f199957326261245da49bf0efe5059b17a18 (diff) | |
download | scummvm-rg350-9ce6fbd0d7faf05fcd62cd9a6ee953cdc63d53cf.tar.gz scummvm-rg350-9ce6fbd0d7faf05fcd62cd9a6ee953cdc63d53cf.tar.bz2 scummvm-rg350-9ce6fbd0d7faf05fcd62cd9a6ee953cdc63d53cf.zip |
GRAPHICS: Move MacMenu constants
Diffstat (limited to 'engines/wage/gui.h')
-rw-r--r-- | engines/wage/gui.h | 45 |
1 files changed, 40 insertions, 5 deletions
diff --git a/engines/wage/gui.h b/engines/wage/gui.h index 8536a76fe1..cf30c577c1 100644 --- a/engines/wage/gui.h +++ b/engines/wage/gui.h @@ -59,12 +59,9 @@ #include "common/rect.h" namespace Wage { - -// Import the enum definitions -using namespace Graphics::MacMenuConstants; -using namespace Graphics::MacWindowConstants; -using namespace Graphics::MacGUIConstants; +using namespace Graphics::MacWindowConstants; + class Scene; class WageEngine; @@ -72,6 +69,44 @@ enum { kCursorHeight = 12 }; +enum { + kFontStyleBold = 1, + kFontStyleItalic = 2, + kFontStyleUnderline = 4, + kFontStyleOutline = 8, + kFontStyleShadow = 16, + kFontStyleCondensed = 32, + kFontStyleExtended = 64 +}; + +enum { + kMenuHighLevel = -1, + kMenuAbout = 0, + kMenuFile = 1, + kMenuEdit = 2, + kMenuCommands = 3, + kMenuWeapons = 4 +}; + +enum { + kMenuActionAbout, + kMenuActionNew, + kMenuActionOpen, + kMenuActionClose, + kMenuActionSave, + kMenuActionSaveAs, + kMenuActionRevert, + kMenuActionQuit, + + kMenuActionUndo, + kMenuActionCut, + kMenuActionCopy, + kMenuActionPaste, + kMenuActionClear, + + kMenuActionCommand +}; + class Gui { public: Gui(WageEngine *engine); |