aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.h
diff options
context:
space:
mode:
authorMax Horn2004-12-25 23:20:37 +0000
committerMax Horn2004-12-25 23:20:37 +0000
commit71051f551e831191f18734a2902559f33346d0e0 (patch)
treedcd59cbd158e4e042a9dd28552011b883fde5c54 /gui/dialog.h
parent509f1b040f3877638d009467bcbf6977e3c62917 (diff)
downloadscummvm-rg350-71051f551e831191f18734a2902559f33346d0e0.tar.gz
scummvm-rg350-71051f551e831191f18734a2902559f33346d0e0.tar.bz2
scummvm-rg350-71051f551e831191f18734a2902559f33346d0e0.zip
Fix bug #1091189 (GUI: Launcher List/Edit game interaction)
svn-id: r16326
Diffstat (limited to 'gui/dialog.h')
-rw-r--r--gui/dialog.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gui/dialog.h b/gui/dialog.h
index e3d7f46cfa..d535cd9280 100644
--- a/gui/dialog.h
+++ b/gui/dialog.h
@@ -41,16 +41,14 @@ class Dialog : public GuiObject {
protected:
Widget *_mouseWidget;
Widget *_focusedWidget;
+ Widget *_clickedWidget;
bool _visible;
private:
int _result;
public:
- Dialog(int x, int y, int w, int h)
- : GuiObject(x, y, w, h),
- _mouseWidget(0), _focusedWidget(0), _visible(false) {
- }
+ Dialog(int x, int y, int w, int h);
virtual ~Dialog();
virtual int runModal();