mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 17:42:14 +00:00
change app color
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user