Skip to content

Theme system fixes and additions - #19984

Merged
hrydgard merged 8 commits into
masterfrom
theme-fixes
Feb 14, 2025
Merged

Theme system fixes and additions#19984
hrydgard merged 8 commits into
masterfrom
theme-fixes

Conversation

@hrydgard

Copy link
Copy Markdown
Owner

Fixes part of #18802 , by implementing some of @NABN00B 's more recent suggestions. See commits for details.

@hrydgard hrydgard added the User Interface PPSSPP's own user interface / UX label Feb 14, 2025
@hrydgard hrydgard added this to the v1.19.0 milestone Feb 14, 2025
@hrydgard hrydgard mentioned this pull request Feb 14, 2025
24 tasks
@hrydgard
hrydgard merged commit b8e6681 into master Feb 14, 2025
@hrydgard
hrydgard deleted the theme-fixes branch February 14, 2025 22:28
Comment thread UI/Theme.cpp
section.Get("PopupStyleFg", &info.uPopupStyleBg, info.uItemStyleFg); // Backwards compat
section.Get("PopupStyleFg", &info.uPopupStyleFg, info.uItemStyleFg); // Backwards compat
section.Get("PopupStyleBg", &info.uPopupStyleBg, info.uPopupStyleBg);
section.Get("PopupHeaderStyleFg", &info.uPopupHeaderStyleFg, 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.

The comment mentions backwards compatibility but in that case these should be called PopupTitle* not PopupHeader*. Please clarify whether the new naming is intended or a mistake.

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.

Reference 9547deb

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.

Well it means backwards compatibility to what was before this change. I like PopupHeader better, and there are not a lot of old themes floating around really.

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