aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/widget_options.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-23 22:56:42 -0400
committerPaul Gilbert2015-07-23 22:56:42 -0400
commitc4736c274e3c2e16791df730d5b82a40b90f882f (patch)
tree325db23eaf894f31e91f3beee52c6a792e23c6cf /engines/sherlock/tattoo/widget_options.h
parent1018dad556b8fddd12852e9254b7c0feca65b8a6 (diff)
downloadscummvm-rg350-c4736c274e3c2e16791df730d5b82a40b90f882f.tar.gz
scummvm-rg350-c4736c274e3c2e16791df730d5b82a40b90f882f.tar.bz2
scummvm-rg350-c4736c274e3c2e16791df730d5b82a40b90f882f.zip
SHERLOCK: RT: Implement Options dialog event handling
Diffstat (limited to 'engines/sherlock/tattoo/widget_options.h')
-rw-r--r--engines/sherlock/tattoo/widget_options.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/widget_options.h b/engines/sherlock/tattoo/widget_options.h
index b76aed9bc8..213704f2ee 100644
--- a/engines/sherlock/tattoo/widget_options.h
+++ b/engines/sherlock/tattoo/widget_options.h
@@ -25,6 +25,7 @@
#include "common/scummsys.h"
#include "sherlock/tattoo/widget_base.h"
+#include "sherlock/tattoo/widget_quit.h"
namespace Sherlock {
@@ -41,11 +42,17 @@ class WidgetOptions : public WidgetBase {
private:
int _midiSliderX, _digiSliderX;
int _selector, _oldSelector;
+ WidgetQuit _quitWidget;
/**
* Render the contents of the dialog onto the widget's surface
*/
void render(OptionRenderMode mode = OP_ALL);
+
+ /**
+ * Close the dialog
+ */
+ void close();
public:
WidgetOptions(SherlockEngine *vm);
virtual ~WidgetOptions() {}