diff --git a/resources/icons/drop_to_bed.png b/resources/icons/drop_to_bed.png deleted file mode 100644 index b60e1b137..000000000 Binary files a/resources/icons/drop_to_bed.png and /dev/null differ diff --git a/resources/icons/drop_to_bed.svg b/resources/icons/drop_to_bed.svg new file mode 100644 index 000000000..832b1b1bd --- /dev/null +++ b/resources/icons/drop_to_bed.svg @@ -0,0 +1,15 @@ + + + + + + + + + + diff --git a/resources/icons/mirroring_off.png b/resources/icons/mirroring_off.png deleted file mode 100644 index c16655271..000000000 Binary files a/resources/icons/mirroring_off.png and /dev/null differ diff --git a/resources/icons/mirroring_off.svg b/resources/icons/mirroring_off.svg new file mode 100644 index 000000000..b68748e90 --- /dev/null +++ b/resources/icons/mirroring_off.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/resources/icons/mirroring_on.png b/resources/icons/mirroring_on.png deleted file mode 100644 index 6ddeccbe0..000000000 Binary files a/resources/icons/mirroring_on.png and /dev/null differ diff --git a/resources/icons/mirroring_on.svg b/resources/icons/mirroring_on.svg new file mode 100644 index 000000000..55ea49516 --- /dev/null +++ b/resources/icons/mirroring_on.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/slic3r/GUI/GUI_ObjectManipulation.cpp b/src/slic3r/GUI/GUI_ObjectManipulation.cpp index 0a2877d92..a4aa3c6d8 100644 --- a/src/slic3r/GUI/GUI_ObjectManipulation.cpp +++ b/src/slic3r/GUI/GUI_ObjectManipulation.cpp @@ -195,8 +195,8 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) : def.width = field_width - mirror_btn_width;//field_width/*50*/; // Load bitmaps to be used for the mirroring buttons: - m_mirror_bitmap_on = ScalableBitmap(parent, "mirroring_on.png"); - m_mirror_bitmap_off = ScalableBitmap(parent, "mirroring_off.png"); + m_mirror_bitmap_on = ScalableBitmap(parent, "mirroring_on"); + m_mirror_bitmap_off = ScalableBitmap(parent, "mirroring_off"); m_mirror_bitmap_hidden = ScalableBitmap(parent, "mirroring_transparent.png"); static const char axes[] = { 'X', 'Y', 'Z' }; @@ -208,7 +208,7 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) : // We will add a button to toggle mirroring to each axis: auto mirror_button = [this, mirror_btn_width, axis_idx, label](wxWindow* parent) { wxSize btn_size(em_unit(parent) * mirror_btn_width, em_unit(parent) * mirror_btn_width); - auto btn = new ScalableButton(parent, wxID_ANY, "mirroring_off.png", wxEmptyString, btn_size, wxDefaultPosition, wxBU_EXACTFIT | wxNO_BORDER | wxTRANSPARENT_WINDOW); + auto btn = new ScalableButton(parent, wxID_ANY, "mirroring_off", wxEmptyString, btn_size, wxDefaultPosition, wxBU_EXACTFIT | wxNO_BORDER | wxTRANSPARENT_WINDOW); btn->SetToolTip(wxString::Format(_(L("Toggle %c axis mirroring")), (int)label)); m_mirror_buttons[axis_idx].first = btn; @@ -334,7 +334,7 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) : else if (option_name == "Position") { // Add drop to bed button auto drop_to_bed_button = [=](wxWindow* parent) { - auto btn = new ScalableButton(parent, wxID_ANY, ScalableBitmap(parent, "drop_to_bed.png")); + auto btn = new ScalableButton(parent, wxID_ANY, ScalableBitmap(parent, "drop_to_bed")); btn->SetToolTip(_(L("Drop to bed"))); m_drop_to_bed_button = btn; auto sizer = new wxBoxSizer(wxHORIZONTAL);