- made Widget::_flags private
- reworked state (enabled/disabled/highlighted) handling of widgets - cleanup in ModernTheme.cpp svn-id: r29403
This commit is contained in:
parent
7cf5a57827
commit
0ec41a2d80
20 changed files with 217 additions and 190 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue