Skip to content

Commit

Permalink
remove notifProgressColor from schemes
Browse files Browse the repository at this point in the history
  • Loading branch information
kjk committed Aug 8, 2024
1 parent 01d99b0 commit f641453
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/Theme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ struct Theme {
COLORREF notifHighlightColor;
// Color of the text when a notification is highlighted
COLORREF notifHighlightTextColor;
// Background color of the progress bar in the notification window
COLORREF notifProgressColor;

// Whether or not we colorize standard Windows controls and window areas
bool colorizeControls;
Expand Down Expand Up @@ -100,8 +98,6 @@ static Theme gThemeLight = {
RgbToCOLORREF(0xFFEE70),
// Highlight text color
RgbToCOLORREF(0x8d0801),
// Progress bar color
gThemeLight.linkColor,

// Colorize standard controls
false
Expand Down Expand Up @@ -131,8 +127,6 @@ static Theme gThemeDark = {
/*AdjustLightness2*/(RgbToCOLORREF(0x33434B), 10),
// Highlight text color
gThemeDark.textColor,
// Progress bar color
gThemeDark.linkColor,

// Colorize standard controls
true
Expand Down Expand Up @@ -161,8 +155,6 @@ static Theme gThemeDarker = {
AdjustLightness2(RgbToCOLORREF(0x3E3E42), 10),
// Highlight text color
gThemeDarker.textColor,
// Progress bar color
gThemeDarker.linkColor,

// Colorize standard controls
true
Expand Down Expand Up @@ -365,7 +357,7 @@ COLORREF ThemeNotificationsHighlightTextColor() {
}

COLORREF ThemeNotificationsProgressColor() {
return gCurrentTheme->notifProgressColor;
return gCurrentTheme->linkColor;
}

bool ThemeColorizeControls() {
Expand Down Expand Up @@ -395,7 +387,6 @@ void dumpThemes() {
logf(" Text = %s\n", SerializeColorTemp(n.notifTextColor));
logf(" Highlight = %s\n", SerializeColorTemp(n.notifHighlightColor));
logf(" HighlightText = %s\n", SerializeColorTemp(n.notifHighlightTextColor));
logf(" Progress = %s\n", SerializeColorTemp(n.notifProgressColor));
logf(" ]\n");

logf(" ]\n");
Expand Down

0 comments on commit f641453

Please sign in to comment.