#14364: GUI: Redraw only widgets which have been changed
----------------------------+-----------------------
Reporter: mikrosk | Owner: (none)
Type: feature request | Status: new
Priority: normal | Component: --Unset--
Version: | Keywords:
Game: |
----------------------------+-----------------------
Current implementation looks like this:
{{{
void Widget::setEnabled(bool e) {
if ((_flags & WIDGET_ENABLED) != e) {
if (e)
setFlags(WIDGET_ENABLED);
else
clearFlags(WIDGET_ENABLED);
g_gui.scheduleTopDialogRedraw();
}
}
}}}
scheduleTopDialogRedraw() completely clears and redraws the overlay,
resulting in an unpleasant pause on weaker hardware configs when scrolling
with the cursor up and down and e.g. the Load button is disabled for some
game.
--
Ticket URL: <https://bugs.scummvm.org/ticket/14364>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM