From 697e6c7cf3a9d4ec956517d130b985c4ca70851c Mon Sep 17 00:00:00 2001 From: Clifford Garwood Date: Fri, 2 Oct 2026 22:55:32 -0400 Subject: [PATCH] Reuse Orca's own icons in the parallel modes editor The remove button drew imex_remove.svg, a redrawn delete.svg, and the help button drew the mascot question icon. They now use delete and icon_qusetion, the tip icon the send-print dialog uses, and imex_remove.svg is gone. Co-Authored-By: Claude Opus 5.5 --- resources/images/imex_remove.svg | 1 - src/slic3r/GUI/IMEXModesCtrl.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 resources/images/imex_remove.svg diff --git a/resources/images/imex_remove.svg b/resources/images/imex_remove.svg deleted file mode 100644 index 3b1046c855..0000000000 --- a/resources/images/imex_remove.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/slic3r/GUI/IMEXModesCtrl.cpp b/src/slic3r/GUI/IMEXModesCtrl.cpp index dea2c0e374..8e26b56391 100644 --- a/src/slic3r/GUI/IMEXModesCtrl.cpp +++ b/src/slic3r/GUI/IMEXModesCtrl.cpp @@ -115,7 +115,7 @@ void IMEXModesCtrl::rebuild_info_and_header() { add_btn->Bind(wxEVT_BUTTON, [this](wxCommandEvent&) { add_row(); notify(); }); act_sizer->Add(add_btn, 0, wxALIGN_CENTER_VERTICAL | wxRIGHT, FromDIP(6)); - auto* help_btn = new ScalableButton(m_info_panel, wxID_ANY, "question", wxEmptyString, + auto* help_btn = new ScalableButton(m_info_panel, wxID_ANY, "icon_qusetion", wxEmptyString, wxDefaultSize, wxDefaultPosition, wxBU_EXACTFIT | wxNO_BORDER, /*use_default_disabled_bitmap=*/true, kImexIconPx); help_btn->SetToolTip(instructions); @@ -658,7 +658,7 @@ void IMEXModesCtrl::add_row(const std::string& name, btn_col->Add(ph_btn, 0, wxBOTTOM, FromDIP(2)); if (!is_primary) { - auto* rm = new ScalableButton(r.panel, wxID_ANY, "imex_remove", wxEmptyString, + auto* rm = new ScalableButton(r.panel, wxID_ANY, "delete", wxEmptyString, wxDefaultSize, wxDefaultPosition, wxBU_EXACTFIT | wxNO_BORDER, /*use_default_disabled_bitmap=*/true, kImexIconPx); rm->SetToolTip(_L("Remove mode"));