diff options
author | Max Horn | 2002-07-08 22:11:47 +0000 |
---|---|---|
committer | Max Horn | 2002-07-08 22:11:47 +0000 |
commit | 0a9baabbdc173f772c4278b1f5c90f59121d4ee9 (patch) | |
tree | c09de90e88d5062603d71f59399192a71ff56e17 /gui/dialog.h | |
parent | 5fa2ab9e006e041e78b966ec5baa42872e69114f (diff) | |
download | scummvm-rg350-0a9baabbdc173f772c4278b1f5c90f59121d4ee9.tar.gz scummvm-rg350-0a9baabbdc173f772c4278b1f5c90f59121d4ee9.tar.bz2 scummvm-rg350-0a9baabbdc173f772c4278b1f5c90f59121d4ee9.zip |
replaced clearArea with the more general fillArea; added get/setValue methods to SliderWidget; changed look of SliderWidget a little bit; optimized drawing of SliderWidget
svn-id: r4500
Diffstat (limited to 'gui/dialog.h')
-rw-r--r-- | gui/dialog.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gui/dialog.h b/gui/dialog.h index 9473ebf690..f91bc681a6 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -43,6 +43,7 @@ protected: int16 _x, _y; uint16 _w, _h; Widget *_mouseWidget; + public: Dialog(NewGui *gui, int x, int y, int w, int h) : _gui(gui), _firstWidget(0), _x(x), _y(y), _w(w), _h(h), _mouseWidget(0) @@ -66,6 +67,7 @@ protected: void addButton(int x, int y, int w, int h, const char *label, uint32 cmd, char hotkey); }; + class SaveLoadDialog : public Dialog { public: SaveLoadDialog(NewGui *gui); @@ -73,7 +75,17 @@ public: virtual void handleCommand(uint32 cmd); }; + +class SoundDialog; +class KeysDialog; +class MiscDialog; + class OptionsDialog : public Dialog { +protected: + SoundDialog *_soundDialog; + KeysDialog *_keysDialog; + MiscDialog *_miscDialog; + public: OptionsDialog(NewGui *gui); |