KEMBAR78
DIRECTOR: Implement the titleVisible & modal property of window by hari01584 · Pull Request #5067 · scummvm/scummvm · GitHub
Skip to content

Conversation

@hari01584
Copy link
Contributor

@hari01584 hari01584 commented Jun 1, 2023

Self-explanatory.

Base work from #4114

Modifies border of window by first changing title to "", then updating
window border to borderType 2 `ThinNoTitle`.

`titleVisible of window` to verify this behavior.

Co-authored-by: Pragyansh Chaturvedi <pragyanshchaturvedi18@gmail.com>
hari01584 and others added 2 commits June 1, 2023 22:09
Lockable widgets are those which takes in all input
and if set then no other widget can take any input
its same as them being inactive, no buttons, animations
etc will work.

This is implemented to support `modal` property of window,
which requires a window to take all input and prevent all
others from having any actions.
Implements modal property using the locking widgets of macwindowmanager.

`modal of window` in 'workshop' uses this.

Co-authored-by: Pragyansh Chaturvedi <pragyanshchaturvedi18@gmail.com>
@hari01584 hari01584 marked this pull request as ready for review June 1, 2023 16:50
@sev-
Copy link
Member

sev- commented Jun 1, 2023

Thanks, merging

@sev- sev- merged commit 829c3e3 into scummvm:master Jun 1, 2023
@lephilousophe lephilousophe added the GSoC Part of a Google Summer of Code project label Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GSoC Part of a Google Summer of Code project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants