diff options
author | Paul Gilbert | 2015-06-16 21:13:34 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-16 21:13:34 -0400 |
commit | 09bd10c6cbb798c2a31aa504280c3e94ce4c8433 (patch) | |
tree | d697bb4d458567d17993424e3ea529ce6df2c5a4 /engines/sherlock/tattoo/widget_verbs.h | |
parent | 3e5e63fa4a209f4813fe41546dbb020f8be5b910 (diff) | |
download | scummvm-rg350-09bd10c6cbb798c2a31aa504280c3e94ce4c8433.tar.gz scummvm-rg350-09bd10c6cbb798c2a31aa504280c3e94ce4c8433.tar.bz2 scummvm-rg350-09bd10c6cbb798c2a31aa504280c3e94ce4c8433.zip |
SHERLOCK: RT: Implemented WidgetVerbs execute
Diffstat (limited to 'engines/sherlock/tattoo/widget_verbs.h')
-rw-r--r-- | engines/sherlock/tattoo/widget_verbs.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/engines/sherlock/tattoo/widget_verbs.h b/engines/sherlock/tattoo/widget_verbs.h index 160df85366..318aeefcca 100644 --- a/engines/sherlock/tattoo/widget_verbs.h +++ b/engines/sherlock/tattoo/widget_verbs.h @@ -26,7 +26,7 @@ #include "common/scummsys.h" #include "common/rect.h" #include "common/str-array.h" -#include "sherlock/surface.h" +#include "sherlock/tattoo/widget_base.h" namespace Sherlock { @@ -34,12 +34,10 @@ class SherlockEngine; namespace Tattoo { -class WidgetVerbs { +class WidgetVerbs: public WidgetBase { private: - SherlockEngine *_vm; - Common::Rect _bounds; - Surface _surface; int _selector, _oldSelector; + bool _outsideMenu; /** * Highlights the controls for the verb list @@ -50,6 +48,14 @@ public: public: WidgetVerbs(SherlockEngine *vm); + /** + * Turns on the menu with all the verbs that are available for the given object + */ + void activateVerbMenu(bool objectsOn); + + /** + * Process input for the dialog + */ void execute(); void checkTabbingKeys(int numOptions); |