From 10ea0696c613340cc54e3245678e7e4605d19f4f Mon Sep 17 00:00:00 2001 From: "xin.zhang" Date: Thu, 9 Jan 2025 15:05:18 +0800 Subject: [PATCH] FIX: add some dark mode images jira: [STUDIO-9654] Change-Id: I89c8efcd95e7b326c4e9ecff76a10c1813e018ea --- resources/images/air_pump_dark.svg | 396 +++++++++++++ .../images/printer_thumbnail_h2d_dark.svg | 533 ++++++++++++++++++ src/slic3r/GUI/UpgradePanel.cpp | 3 +- 3 files changed, 931 insertions(+), 1 deletion(-) create mode 100644 resources/images/air_pump_dark.svg create mode 100644 resources/images/printer_thumbnail_h2d_dark.svg diff --git a/resources/images/air_pump_dark.svg b/resources/images/air_pump_dark.svg new file mode 100644 index 000000000..2f075c213 --- /dev/null +++ b/resources/images/air_pump_dark.svg @@ -0,0 +1,396 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/images/printer_thumbnail_h2d_dark.svg b/resources/images/printer_thumbnail_h2d_dark.svg new file mode 100644 index 000000000..050c20f44 --- /dev/null +++ b/resources/images/printer_thumbnail_h2d_dark.svg @@ -0,0 +1,533 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/slic3r/GUI/UpgradePanel.cpp b/src/slic3r/GUI/UpgradePanel.cpp index 199f780ff..788cadf24 100644 --- a/src/slic3r/GUI/UpgradePanel.cpp +++ b/src/slic3r/GUI/UpgradePanel.cpp @@ -408,13 +408,14 @@ void MachineInfoPanel::init_bitmaps() m_img_monitor_ams = ScalableBitmap(this, "monitor_upgrade_ams", 200); m_img_ext = ScalableBitmap(this, "monitor_upgrade_ext", 200); if (wxGetApp().dark_mode()) { + m_img_air_pump = ScalableBitmap(this, "air_pump_dark", 160); m_img_extra_ams = ScalableBitmap(this, "extra_icon_dark", 160); } else { + m_img_air_pump = ScalableBitmap(this, "air_pump", 160); m_img_extra_ams = ScalableBitmap(this, "extra_icon", 160); } - m_img_air_pump = ScalableBitmap(this, "air_pump", 160); m_img_laser = ScalableBitmap(this, "laser", 160); m_img_cutting = ScalableBitmap(this, "cut", 160);