diff options
Diffstat (limited to 'gui/dialog.h')
-rw-r--r-- | gui/dialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/dialog.h b/gui/dialog.h index 69d851f78a..5170e7c9b2 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -44,6 +44,7 @@ protected: Widget *_focusedWidget; Widget *_dragWidget; bool _visible; + bool _mainDialog; // FIXME: find a better solution for this and change the Theme class to handle it then private: int _result; @@ -73,7 +74,7 @@ protected: virtual void handleKeyUp(uint16 ascii, int keycode, int modifiers); virtual void handleMouseMoved(int x, int y, int button); virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); - virtual void handleScreenChanged() {} + void handleScreenChanged(); Widget *findWidget(int x, int y); // Find the widget at pos x,y if any |