aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2007-11-04 03:38:30 +0000
committerJohannes Schickel2007-11-04 03:38:30 +0000
commit0ec41a2d8022f5af042bffec7513e8f2d5e36a1b (patch)
tree8aeb8e4a2c770182c2d7ef08541a8f433e8e6cdd /gui/dialog.cpp
parent7cf5a578275f97f490c85e25409562718e23482f (diff)
downloadscummvm-rg350-0ec41a2d8022f5af042bffec7513e8f2d5e36a1b.tar.gz
scummvm-rg350-0ec41a2d8022f5af042bffec7513e8f2d5e36a1b.tar.bz2
scummvm-rg350-0ec41a2d8022f5af042bffec7513e8f2d5e36a1b.zip
- made Widget::_flags private
- reworked state (enabled/disabled/highlighted) handling of widgets - cleanup in ModernTheme.cpp svn-id: r29403
Diffstat (limited to 'gui/dialog.cpp')
-rw-r--r--gui/dialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp
index f6854e2b62..ef396301be 100644
--- a/gui/dialog.cpp
+++ b/gui/dialog.cpp
@@ -296,9 +296,8 @@ void Dialog::handleMouseMoved(int x, int y, int button) {
void Dialog::handleTickle() {
// Focused widget receives tickle notifications
- if (_focusedWidget && _focusedWidget->getFlags() & WIDGET_WANT_TICKLE) {
+ if (_focusedWidget && _focusedWidget->getFlags() & WIDGET_WANT_TICKLE)
_focusedWidget->handleTickle();
- }
}
void Dialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) {