aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/mads_menus.h
diff options
context:
space:
mode:
authorPaul Gilbert2010-03-27 10:44:38 +0000
committerPaul Gilbert2010-03-27 10:44:38 +0000
commita2de7bb0ef8118c32e6e3ad1a945a8021544c519 (patch)
treed90c6fa014f68bfd3ca73998263b08cecacf60c9 /engines/m4/mads_menus.h
parent38f2c1b7a4eaa3dc136c6cd3c29d2b76f223d153 (diff)
downloadscummvm-rg350-a2de7bb0ef8118c32e6e3ad1a945a8021544c519.tar.gz
scummvm-rg350-a2de7bb0ef8118c32e6e3ad1a945a8021544c519.tar.bz2
scummvm-rg350-a2de7bb0ef8118c32e6e3ad1a945a8021544c519.zip
Added the game options dialog, along with several bugfixes to dialog display code
svn-id: r48410
Diffstat (limited to 'engines/m4/mads_menus.h')
-rw-r--r--engines/m4/mads_menus.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/engines/m4/mads_menus.h b/engines/m4/mads_menus.h
index 3ef49cd6ee..278e07e3fd 100644
--- a/engines/m4/mads_menus.h
+++ b/engines/m4/mads_menus.h
@@ -158,7 +158,18 @@ private:
public:
RexGameMenuDialog();
- virtual void onRefresh(RectList *rects, M4Surface *destSurface);
+ virtual bool onEvent(M4EventType eventType, int32 param1, int x, int y, bool &captureEvents);
+};
+
+class RexOptionsDialog : public RexDialogView {
+private:
+ MadsConfigData _tempConfig;
+
+ void reload();
+ void addLines();
+public:
+ RexOptionsDialog();
+
virtual bool onEvent(M4EventType eventType, int32 param1, int x, int y, bool &captureEvents);
};