diff options
author | Oleksiy Kurochko | 2012-05-03 19:32:08 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2012-05-03 19:32:08 +0300 |
commit | e6c317a9226b71af572d2e2004e307c0e895b77c (patch) | |
tree | 985d9069de0b156803a306da494ea7fd92d7c5c5 /gui/dialog.h | |
parent | 8d157ae1858c6aab2acc78c732b547dd4e94723a (diff) | |
download | scummvm-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.h | 7 |
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(); |