mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-19 08:52:09 +00:00
update colors
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
static const wxColour WGT_GREY200 = wxColour(248, 248, 248);
|
||||
static const wxColour WGT_GREY300 = wxColour(238, 238, 238);
|
||||
|
||||
static wxColour s_hgreen_clr("#00AE42");
|
||||
static wxColour s_hgreen_clr("#009688");
|
||||
|
||||
namespace Slic3r::GUI
|
||||
{
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#define WGT_RACK_NOZZLE_SIZE WX_DIP_SIZE(88, 100)
|
||||
|
||||
static wxColour s_gray_clr("#B0B0B0");
|
||||
static wxColour s_hgreen_clr("#00AE42");
|
||||
static wxColour s_hgreen_clr("#009688");
|
||||
static wxColour s_red_clr("#D01B1B");
|
||||
|
||||
wxDEFINE_EVENT(EVT_NOZZLE_RACK_NOZZLE_ITEM_SELECTED, wxCommandEvent);
|
||||
|
||||
@@ -612,7 +612,7 @@ void wgtDeviceNozzleRackHotendUpdate::UpdateInfo(const DevNozzle& nozzle)
|
||||
m_used_time->Show(true);
|
||||
m_status_label->Show(true);
|
||||
m_status_bitmap->Show(true);
|
||||
m_status_label->SetForegroundColour(wxColour("#00AE42"));
|
||||
m_status_label->SetForegroundColour(wxColour("#009688"));
|
||||
m_status_label->SetLabel(_L("Refresh"));
|
||||
m_status_bitmap->SetBitmap(m_refresh_icon->bmp());
|
||||
m_status_bitmap->Refresh();
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "slic3r/GUI/Widgets/Label.hpp"
|
||||
|
||||
static wxColour s_gray_clr("#B0B0B0");
|
||||
static wxColour s_hgreen_clr("#00AE42");
|
||||
static wxColour s_hgreen_clr("#009688");
|
||||
static wxColour s_red_clr("#D01B1B");
|
||||
|
||||
static std::vector<int> a_nozzle_seq = {16, 18, 20, 17, 19, 21};
|
||||
|
||||
@@ -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