KEMBAR78
GUI: Don't enforce full redraw upon closing tool tip by mikrosk · Pull Request #4954 · scummvm/scummvm · GitHub
Skip to content

Conversation

@mikrosk
Copy link
Contributor

@mikrosk mikrosk commented Apr 29, 2023

Follow-up of #4953 -- this makes tool tips noticeably faster as even a three letter tooltip would require a complete clearOverlay() & grabOverlay() & build the dialog stack.

This way it redraws only its parent dialog (dialog is key here; not parent widget).

One day I or perhaps someone else find the courage to implement a proper window manager into ScummVM, that way kRedrawCloseDialog would restore the underlying widget(s) (it is the "s" which makes this quite a complex change).

@sev-
Copy link
Member

sev- commented Apr 29, 2023

Okay, thanks!

@sev- sev- merged commit 19b7b2a into scummvm:master Apr 29, 2023
@mikrosk mikrosk deleted the tooltip_redraw branch April 30, 2023 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants