mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-03 23:36:49 +00:00
update colors
This commit is contained in:
@@ -455,11 +455,11 @@ std::vector<int> HotEndTable::FilterHotEnds(const NozzleOption& option)
|
||||
void HotEndTable::MarkRelatedItems(const NozzleOption& option)
|
||||
{
|
||||
const static StateColor bg_green(
|
||||
std::pair<wxColour, int>(wxColour("#DBFDE7"), StateColor::Normal)
|
||||
std::pair<wxColour, int>(wxColour("#E5F0EE"), StateColor::Normal)
|
||||
);
|
||||
|
||||
const static StateColor bd_green(
|
||||
std::pair<wxColour, int>(wxColour("#00AE42"), StateColor::Normal)
|
||||
std::pair<wxColour, int>(wxColour("#009688"), StateColor::Normal)
|
||||
);
|
||||
auto filtered_nozzles = FilterHotEnds(option);
|
||||
for (auto nozzle_id : filtered_nozzles) {
|
||||
@@ -470,7 +470,7 @@ void HotEndTable::MarkRelatedItems(const NozzleOption& option)
|
||||
item->SetBackgroundColor(bg_green);
|
||||
item->SetBorderColor(bd_green);
|
||||
for (auto child : item->GetChildren()) {
|
||||
child->SetBackgroundColour("#DBFDE7");
|
||||
child->SetBackgroundColour("#E5F0EE");
|
||||
}
|
||||
}
|
||||
wxGetApp().UpdateDarkUIWin(this);
|
||||
@@ -793,9 +793,9 @@ Slic3r::GUI::MultiNozzleSyncDialog::MultiNozzleSyncDialog(wxWindow* parent,std::
|
||||
|
||||
StateColor btn_bg_green(
|
||||
std::pair<wxColour, int>(wxColour(144, 144, 144), StateColor::Disabled),
|
||||
std::pair<wxColour, int>(wxColour(27, 136, 68), StateColor::Pressed),
|
||||
std::pair<wxColour, int>(wxColour(61, 203, 115), StateColor::Hovered),
|
||||
std::pair<wxColour, int>(wxColour(0, 174, 66), StateColor::Normal)
|
||||
std::pair<wxColour, int>(wxColour(0, 137, 123), StateColor::Pressed),
|
||||
std::pair<wxColour, int>(wxColour(38, 166, 154), StateColor::Hovered),
|
||||
std::pair<wxColour, int>(wxColour(0, 150, 136), StateColor::Normal)
|
||||
);
|
||||
|
||||
StateColor btn_text_green(
|
||||
|
||||
Reference in New Issue
Block a user