-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce WINDOW_SHIM define #11653
Introduce WINDOW_SHIM define #11653
Conversation
01df905
to
174c3e9
Compare
For moving the close box. Well all windows (some probably already do) should be calling a common method for resizing those skeleton (or shim as I call them) widgets. In that common method, it could change the position of the close button based on user preference. |
It was my intention to create such a function, yes, especially since it avoids a lot of code duplication, even without the left/right handling. Is it ok if I leave that for another PR, or do you want me to address it in this one? Also, if you think "shim" is a better name than "skeleton": I have no problem changing it. |
Yes, I didn't expect you to do this now. |
174c3e9
to
e64b26d
Compare
e64b26d
to
df5c789
Compare
df5c789
to
b942d24
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems ok to me.
I'm not very fond of the abuse of something being static constexpr const
, but it does no harm, so go on.
Text Input uses one colour, specifically the body colour of the calling window. This was previously handles by a modified window shim, but OpenRCT2#11653 changed this and this window now uses the standard window shim. This is why it now needs to change the colour assignment.
Text Input uses one colour, specifically the body colour of the calling window. This was previously handles by a modified window shim, but #11653 changed this and this window now uses the standard window shim. This is why it now needs to change the colour assignment.
Text Input uses one colour, specifically the body colour of the calling window. This was previously handles by a modified window shim, but OpenRCT2#11653 changed this and this window now uses the standard window shim. This is why it now needs to change the colour assignment.
Taken from #10133. It does not include the ifdefs to move the close box to the left, as that bit needs a rethink anyway.