diff options
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_user_interface.h')
-rw-r--r-- | engines/sherlock/tattoo/tattoo_user_interface.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/sherlock/tattoo/tattoo_user_interface.h b/engines/sherlock/tattoo/tattoo_user_interface.h index 790c892ec8..016398efd5 100644 --- a/engines/sherlock/tattoo/tattoo_user_interface.h +++ b/engines/sherlock/tattoo/tattoo_user_interface.h @@ -32,6 +32,7 @@ #include "sherlock/tattoo/widget_inventory.h" #include "sherlock/tattoo/widget_lab.h" #include "sherlock/tattoo/widget_options.h" +#include "sherlock/tattoo/widget_quit.h" #include "sherlock/tattoo/widget_text.h" #include "sherlock/tattoo/widget_tooltip.h" #include "sherlock/tattoo/widget_verbs.h" @@ -55,6 +56,7 @@ private: int _cAnimFramePause; WidgetInventory _inventoryWidget; WidgetMessage _messageWidget; + WidgetQuit _quitWidget; Common::List<WidgetBase *> _widgets; byte _lookupTable[PALETTE_COUNT]; byte _lookupTable1[PALETTE_COUNT]; @@ -85,11 +87,6 @@ private: void initFileMenu(); /** - * Handle displaying the quit menu - */ - void doQuitMenu(); - - /** * Free any active menu */ void freeMenu(); @@ -161,6 +158,11 @@ public: void doControls(); /** + * Handle the display of the quit menu + */ + void doQuitMenu(); + + /** * Pick up the selected object */ void pickUpObject(int objNum); |