mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
change app color
This commit is contained in:
parent
7ac975475f
commit
9c1a7bbf8b
66 changed files with 165 additions and 163 deletions
|
@ -142,7 +142,7 @@ void ButtonsListCtrl::SetSelection(int sel)
|
|||
if (m_selection == sel)
|
||||
return;
|
||||
// BBS: change button color
|
||||
wxColour selected_btn_bg("#00AE42"); // Gradient #00AE42
|
||||
wxColour selected_btn_bg("#009688"); // Gradient #009688
|
||||
if (m_selection >= 0) {
|
||||
StateColor bg_color = StateColor(
|
||||
std::pair{wxColour(107, 107, 107), (int) StateColor::Hovered},
|
||||
|
@ -157,8 +157,8 @@ void ButtonsListCtrl::SetSelection(int sel)
|
|||
m_selection = sel;
|
||||
|
||||
StateColor bg_color = StateColor(
|
||||
std::pair{wxColour(0, 174, 66), (int) StateColor::Hovered},
|
||||
std::pair{wxColour(0,174, 66), (int) StateColor::Normal});
|
||||
std::pair{wxColour(0, 150, 136), (int) StateColor::Hovered},
|
||||
std::pair{wxColour(0,150, 136), (int) StateColor::Normal});
|
||||
m_pageButtons[m_selection]->SetBackgroundColor(bg_color);
|
||||
|
||||
StateColor text_color = StateColor(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue