From c6e18844038e087f373923731265beac58485a31 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 24 Jul 2015 19:42:41 -0400 Subject: SHERLOCK: RT: Rendering fixes for Options & Quit dialogs --- engines/sherlock/tattoo/tattoo_user_interface.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'engines/sherlock/tattoo/tattoo_user_interface.h') 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 _widgets; byte _lookupTable[PALETTE_COUNT]; byte _lookupTable1[PALETTE_COUNT]; @@ -84,11 +86,6 @@ private: */ void initFileMenu(); - /** - * Handle displaying the quit menu - */ - void doQuitMenu(); - /** * Free any active menu */ @@ -160,6 +157,11 @@ public: */ void doControls(); + /** + * Handle the display of the quit menu + */ + void doQuitMenu(); + /** * Pick up the selected object */ -- cgit v1.2.3