Opened 20 months ago
Closed 19 months ago
#14364 closed feature request (fixed)
GUI: Redraw only widgets which have been changed
Reported by: | mikrosk | Owned by: | mikrosk |
---|---|---|---|
Priority: | normal | Component: | GUI |
Version: | Keywords: | ||
Cc: | Game: |
Description
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.
Change History (2)
comment:1 by , 20 months ago
Component: | --Unset-- → GUI |
---|
comment:2 by , 19 months ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed by https://github.com/scummvm/scummvm/commit/f824f8ad13ccefb5ed2e9df1f324fb8847397806.