Skip to content

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Feb 17, 2025

Adds a mechanism for a view to know if it's in a popup, as mentioned in #18802 .

Uses it in a few places.

Also, I changed my mind on the naming ofr PopupHeaderStyle.

(This doesn't solve the slider color issue)

@hrydgard hrydgard added the User Interface PPSSPP's own user interface / UX label Feb 17, 2025
@hrydgard hrydgard added this to the v1.19.0 milestone Feb 17, 2025
@NABN00B
Copy link
Contributor

NABN00B commented Feb 17, 2025

Adds a mechanism for a view to know if it's in a popup

Hopefully this will allow the cleanup of the recent hacky solution of the game list settings menu as well.

EDIT: I see you're way ahead of me -- it's already done. 😄

@hrydgard hrydgard merged commit 41de9c7 into master Feb 17, 2025
19 checks passed
@hrydgard hrydgard deleted the theme-work branch February 17, 2025 20:04
section.Get("TooltipStyleBg", &info.uTooltipStyleBg, info.uTooltipStyleBg);
section.Get("PopupHeaderStyleFg", &info.uPopupHeaderStyleFg, info.uItemStyleFg); // Backwards compat
section.Get("PopupHeaderStyleBg", &info.uPopupHeaderStyleBg, info.uPopupHeaderStyleBg);
section.Get("PopupHeaderStyleFg", &info.uPopupTitleStyleFg, info.uItemStyleFg); // Backwards compat
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You forgot to change the first parameter, it's still looking for PopupHeader* in the inis.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, fixing

@NABN00B NABN00B mentioned this pull request Feb 17, 2025
21 tasks
hrydgard added a commit that referenced this pull request Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

User Interface PPSSPP's own user interface / UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants