Skip to content

More theming work#19995

Merged
hrydgard merged 3 commits into
masterfrom
theme-work
Feb 17, 2025
Merged

More theming work#19995
hrydgard merged 3 commits into
masterfrom
theme-work

Conversation

@hrydgard

@hrydgard hrydgard commented Feb 17, 2025

Copy link
Copy Markdown
Owner

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

NABN00B commented Feb 17, 2025

Copy link
Copy Markdown
Contributor

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
@hrydgard hrydgard deleted the theme-work branch February 17, 2025 20:04
Comment thread UI/Theme.cpp
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
Copy Markdown
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
Copy Markdown
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
24 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