From a2de7bb0ef8118c32e6e3ad1a945a8021544c519 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 27 Mar 2010 10:44:38 +0000 Subject: Added the game options dialog, along with several bugfixes to dialog display code svn-id: r48410 --- engines/m4/mads_menus.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'engines/m4/mads_menus.h') 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); }; -- cgit v1.2.3