diff options
author | Andrei Prykhodko | 2018-07-22 21:26:09 +0300 |
---|---|---|
committer | Andrei Prykhodko | 2018-07-22 21:26:09 +0300 |
commit | c06e2abfb09f3dfa414e2a30b6f5cef1b4db40f8 (patch) | |
tree | 7aed6cda4ab86825a1b6e6d2018e0298c143c262 /engines/pink/pink.h | |
parent | f4eda441862f8aacf75417f577907343278708e4 (diff) | |
download | scummvm-rg350-c06e2abfb09f3dfa414e2a30b6f5cef1b4db40f8.tar.gz scummvm-rg350-c06e2abfb09f3dfa414e2a30b6f5cef1b4db40f8.tar.bz2 scummvm-rg350-c06e2abfb09f3dfa414e2a30b6f5cef1b4db40f8.zip |
PINK: added menu commands
Diffstat (limited to 'engines/pink/pink.h')
-rw-r--r-- | engines/pink/pink.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/pink/pink.h b/engines/pink/pink.h index da7ac49bc8..b46d4f07b4 100644 --- a/engines/pink/pink.h +++ b/engines/pink/pink.h @@ -59,6 +59,10 @@ * missing menu */ +namespace Graphics { +class MacMenu; +} + namespace Pink { class Console; @@ -109,6 +113,8 @@ public: void setVariable(Common::String &variable, Common::String &value); bool checkValueOfVariable(Common::String &variable, Common::String &value); + void executeMenuCommand(uint id); + OrbFile *getOrb() { return &_orb; } BroFile *getBro() { return _bro; } Common::RandomSource &getRnd() { return _rnd; }; @@ -122,6 +128,8 @@ public: private: Common::Error init(); + void initMenu(Common::PEResources &exeResources); + bool loadCursors(Common::PEResources &exeResources); void initModule(const Common::String &moduleName, const Common::String &pageName, Archive *saveFile); @@ -139,6 +147,7 @@ private: OrbFile _orb; BroFile *_bro; + Graphics::MacMenu *_menu; Director *_director; LeadActor *_actor; |