diff options
Diffstat (limited to 'gui/widgets')
-rw-r--r-- | gui/widgets/list.cpp | 2 | ||||
-rw-r--r-- | gui/widgets/scrollcontainer.cpp | 2 | ||||
-rw-r--r-- | gui/widgets/tab.cpp | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/gui/widgets/list.cpp b/gui/widgets/list.cpp index 16d91f9a1e..b4a5f4bf0b 100644 --- a/gui/widgets/list.cpp +++ b/gui/widgets/list.cpp @@ -744,7 +744,7 @@ void ListWidget::setFilter(const String &filter, bool redraw) { // Such a widget could also (optionally) draw a border (or even different // kinds of borders) around the objects it groups; and also a 'title' // (I am borrowing these "ideas" from the NSBox class in Cocoa :). - _boss->markAsDirty(); + g_gui.scheduleTopDialogRedraw(); } } diff --git a/gui/widgets/scrollcontainer.cpp b/gui/widgets/scrollcontainer.cpp index 00eadff78d..d6b1b740fd 100644 --- a/gui/widgets/scrollcontainer.cpp +++ b/gui/widgets/scrollcontainer.cpp @@ -102,7 +102,7 @@ void ScrollContainerWidget::handleCommand(CommandSender *sender, uint32 cmd, uin case kSetPositionCmd: _scrolledY = _verticalScroll->_currentPos; reflowLayout(); - g_gui.doFullRedraw(); + g_gui.scheduleTopDialogRedraw(); break; } } diff --git a/gui/widgets/tab.cpp b/gui/widgets/tab.cpp index 9b045daf51..dfcb919264 100644 --- a/gui/widgets/tab.cpp +++ b/gui/widgets/tab.cpp @@ -154,7 +154,7 @@ void TabWidget::removeTab(int tabID) { } // Finally trigger a redraw - _boss->markAsDirty(); + g_gui.scheduleTopDialogRedraw(); } void TabWidget::setActiveTab(int tabID) { @@ -174,7 +174,7 @@ void TabWidget::setActiveTab(int tabID) { while (_lastVisibleTab < tabID) setFirstVisible(_firstVisibleTab + 1, false); - _boss->markAsDirty(); + g_gui.scheduleTopDialogRedraw(); } } @@ -246,7 +246,7 @@ void TabWidget::setFirstVisible(int tabID, bool adjustIfRoom) { computeLastVisibleTab(adjustIfRoom); - _boss->markAsDirty(); // TODO: Necessary? + g_gui.scheduleTopDialogRedraw(); // TODO: Necessary? } void TabWidget::reflowLayout() { |