aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.h
diff options
context:
space:
mode:
authorOleksiy Kurochko2012-05-03 19:32:08 +0300
committerEugene Sandulenko2012-05-03 19:32:08 +0300
commite6c317a9226b71af572d2e2004e307c0e895b77c (patch)
tree985d9069de0b156803a306da494ea7fd92d7c5c5 /gui/dialog.h
parent8d157ae1858c6aab2acc78c732b547dd4e94723a (diff)
downloadscummvm-rg350-e6c317a9226b71af572d2e2004e307c0e895b77c.tar.gz
scummvm-rg350-e6c317a9226b71af572d2e2004e307c0e895b77c.tar.bz2
scummvm-rg350-e6c317a9226b71af572d2e2004e307c0e895b77c.zip
GUI: Implemented pressed state for buttons
Diffstat (limited to 'gui/dialog.h')
-rw-r--r--gui/dialog.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/dialog.h b/gui/dialog.h
index f5a5f94a68..f923c1f5b8 100644
--- a/gui/dialog.h
+++ b/gui/dialog.h
@@ -52,6 +52,7 @@ protected:
Widget *_mouseWidget;
Widget *_focusedWidget;
Widget *_dragWidget;
+ Widget *_tickleWidget;
bool _visible;
ThemeEngine::DialogBackground _backgroundType;
@@ -71,7 +72,13 @@ public:
void setFocusWidget(Widget *widget);
Widget *getFocusWidget() { return _focusedWidget; }
+ void setTickleWidget(Widget *widget) { _tickleWidget = widget; }
+ void unSetTickleWidget() { _tickleWidget = NULL; }
+ Widget *getTickleWidget() { return _tickleWidget; }
+
virtual void reflowLayout();
+ virtual void lostFocus();
+ virtual void receivedFocus() {};
protected:
virtual void open();