diff --git a/resources/icons/mode_advanced.svg b/resources/icons/mode_advanced.svg new file mode 100644 index 000000000..79f68f5b9 --- /dev/null +++ b/resources/icons/mode_advanced.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + diff --git a/resources/icons/mode_expert.svg b/resources/icons/mode_expert.svg new file mode 100644 index 000000000..aaa6d0e4d --- /dev/null +++ b/resources/icons/mode_expert.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + diff --git a/resources/icons/mode_simple.svg b/resources/icons/mode_simple.svg new file mode 100644 index 000000000..b94b7112c --- /dev/null +++ b/resources/icons/mode_simple.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 5a41f12a5..5f17955d4 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -257,9 +257,9 @@ void Tab::create_preset_tab() // Fill cache for mode bitmaps m_mode_bitmap_cache.reserve(3); - m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_simple_.png")); - m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_advanced_.png")); - m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_expert_.png")); + m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_simple")); + m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_advanced")); + m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_expert")); // Initialize the DynamicPrintConfig by default keys/values. build(); diff --git a/src/slic3r/GUI/wxExtensions.cpp b/src/slic3r/GUI/wxExtensions.cpp index f814c11df..7e9ec86f9 100644 --- a/src/slic3r/GUI/wxExtensions.cpp +++ b/src/slic3r/GUI/wxExtensions.cpp @@ -727,9 +727,9 @@ ModeSizer::ModeSizer(wxWindow *parent, int hgap/* = 0*/) : SetFlexibleDirection(wxHORIZONTAL); std::vector < std::pair < wxString, std::string >> buttons = { - {_(L("Simple")), "mode_simple_sq.png"}, - {_(L("Advanced")), "mode_advanced_sq.png"}, - {_(L("Expert")), "mode_expert_sq.png"} + {_(L("Simple")), "mode_simple"}, + {_(L("Advanced")), "mode_advanced"}, + {_(L("Expert")), "mode_expert"}, }; auto modebtnfn = [](wxCommandEvent &event, int mode_id) {