Update color

This commit is contained in:
Noisyfox
2025-10-05 16:02:17 +08:00
parent 224472f85e
commit 05aedd6d92
56 changed files with 572 additions and 584 deletions

View File

@@ -265,7 +265,7 @@ void SwitchBoard::doRender(wxDC &dc)
/*left*/
if (switch_left) {
is_enable ? dc.SetBrush(wxBrush(wxColour(0, 174, 66))) : dc.SetBrush(disable_color);
is_enable ? dc.SetBrush(wxBrush(wxColour(0, 150, 136))) : dc.SetBrush(disable_color);
dc.DrawRoundedRectangle(0, 0, GetSize().x / 2, GetSize().y, 8);
}
@@ -283,7 +283,7 @@ void SwitchBoard::doRender(wxDC &dc)
/*right*/
if (switch_right) {
if (is_enable) {dc.SetBrush(wxBrush(wxColour(0, 174, 66)));
if (is_enable) {dc.SetBrush(wxBrush(wxColour(0, 150, 136)));
} else {dc.SetBrush(disable_color);}
dc.DrawRoundedRectangle(GetSize().x / 2, 0, GetSize().x / 2, GetSize().y, 8);
}