-
Notifications
You must be signed in to change notification settings - Fork 2.3k
More theming work #19995
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
More theming work #19995
Conversation
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. 😄 |
@@ -148,8 +148,8 @@ static void LoadThemeInfo(const std::vector<Path> &directories) { | |||
section.Get("PopupStyleBg", &info.uPopupStyleBg, info.uPopupStyleBg); | |||
section.Get("TooltipStyleFg", &info.uTooltipStyleFg, info.uTooltipStyleFg); // Backwards compat | |||
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 |
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.
You forgot to change the first parameter, it's still looking for PopupHeader*
in the inis.
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.
oops, fixing
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)