diff --git a/resources/icons/browse.svg b/resources/icons/browse.svg
new file mode 100644
index 000000000..c4297c41d
--- /dev/null
+++ b/resources/icons/browse.svg
@@ -0,0 +1,11 @@
+
+
+
diff --git a/resources/icons/dot.svg b/resources/icons/dot.svg
new file mode 100644
index 000000000..236db3678
--- /dev/null
+++ b/resources/icons/dot.svg
@@ -0,0 +1,8 @@
+
+
+
diff --git a/resources/icons/dot_white.svg b/resources/icons/dot_white.svg
new file mode 100644
index 000000000..90fbaf7fb
--- /dev/null
+++ b/resources/icons/dot_white.svg
@@ -0,0 +1,8 @@
+
+
+
diff --git a/resources/icons/exclamation.svg b/resources/icons/exclamation.svg
new file mode 100644
index 000000000..456802652
--- /dev/null
+++ b/resources/icons/exclamation.svg
@@ -0,0 +1,17 @@
+
+
+
diff --git a/resources/icons/export_config.svg b/resources/icons/export_config.svg
new file mode 100644
index 000000000..e70035dae
--- /dev/null
+++ b/resources/icons/export_config.svg
@@ -0,0 +1,20 @@
+
+
+
diff --git a/resources/icons/export_config_bundle.svg b/resources/icons/export_config_bundle.svg
new file mode 100644
index 000000000..1e587689d
--- /dev/null
+++ b/resources/icons/export_config_bundle.svg
@@ -0,0 +1,51 @@
+
+
+
diff --git a/resources/icons/export_gcode.svg b/resources/icons/export_gcode.svg
new file mode 100644
index 000000000..317e01f7d
--- /dev/null
+++ b/resources/icons/export_gcode.svg
@@ -0,0 +1,14 @@
+
+
+
diff --git a/resources/icons/export_plater.svg b/resources/icons/export_plater.svg
new file mode 100644
index 000000000..641d952ad
--- /dev/null
+++ b/resources/icons/export_plater.svg
@@ -0,0 +1,12 @@
+
+
+
diff --git a/resources/icons/import_config.svg b/resources/icons/import_config.svg
new file mode 100644
index 000000000..636a31151
--- /dev/null
+++ b/resources/icons/import_config.svg
@@ -0,0 +1,25 @@
+
+
+
diff --git a/resources/icons/import_config_bundle.svg b/resources/icons/import_config_bundle.svg
new file mode 100644
index 000000000..b8342760a
--- /dev/null
+++ b/resources/icons/import_config_bundle.svg
@@ -0,0 +1,62 @@
+
+
+
diff --git a/resources/icons/import_plater.svg b/resources/icons/import_plater.svg
new file mode 100644
index 000000000..a953122f2
--- /dev/null
+++ b/resources/icons/import_plater.svg
@@ -0,0 +1,17 @@
+
+
+
diff --git a/resources/icons/mark_X.svg b/resources/icons/mark_X.svg
new file mode 100644
index 000000000..1045debc5
--- /dev/null
+++ b/resources/icons/mark_X.svg
@@ -0,0 +1,9 @@
+
+
+
diff --git a/resources/icons/mark_Y.svg b/resources/icons/mark_Y.svg
new file mode 100644
index 000000000..26e01b295
--- /dev/null
+++ b/resources/icons/mark_Y.svg
@@ -0,0 +1,9 @@
+
+
+
diff --git a/resources/icons/mark_Z.svg b/resources/icons/mark_Z.svg
new file mode 100644
index 000000000..cd2826ac0
--- /dev/null
+++ b/resources/icons/mark_Z.svg
@@ -0,0 +1,9 @@
+
+
+
diff --git a/resources/icons/pad.svg b/resources/icons/pad.svg
new file mode 100644
index 000000000..dc5907e37
--- /dev/null
+++ b/resources/icons/pad.svg
@@ -0,0 +1,83 @@
+
+
+
diff --git a/resources/icons/printer_white.svg b/resources/icons/printer_white.svg
new file mode 100644
index 000000000..d94f6fd5c
--- /dev/null
+++ b/resources/icons/printer_white.svg
@@ -0,0 +1,14 @@
+
+
+
diff --git a/resources/icons/set_separate_obj.svg b/resources/icons/set_separate_obj.svg
new file mode 100644
index 000000000..c95149e2d
--- /dev/null
+++ b/resources/icons/set_separate_obj.svg
@@ -0,0 +1,29 @@
+
+
+
diff --git a/resources/icons/split_object_SMALL.svg b/resources/icons/split_object_SMALL.svg
new file mode 100644
index 000000000..7e362c2ba
--- /dev/null
+++ b/resources/icons/split_object_SMALL.svg
@@ -0,0 +1,19 @@
+
+
+
diff --git a/resources/icons/test.svg b/resources/icons/test.svg
new file mode 100644
index 000000000..abf35d0ae
--- /dev/null
+++ b/resources/icons/test.svg
@@ -0,0 +1,37 @@
+
+
+
diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp
index a1adb5511..23756a2e2 100644
--- a/src/slic3r/GUI/GUI_ObjectList.cpp
+++ b/src/slic3r/GUI/GUI_ObjectList.cpp
@@ -75,8 +75,8 @@ ObjectList::ObjectList(wxWindow* parent) :
// CATEGORY_ICON[L("Speed > Acceleration")] = create_scaled_bitmap(nullptr, "time");
CATEGORY_ICON[L("Advanced")] = create_scaled_bitmap(nullptr, "wrench");
// ptSLA
- CATEGORY_ICON[L("Supports")] = create_scaled_bitmap(nullptr, "sla_supports");
- CATEGORY_ICON[L("Pad")] = create_scaled_bitmap(nullptr, "brick.png");
+ CATEGORY_ICON[L("Supports")] = create_scaled_bitmap(nullptr, "support"/*"sla_supports"*/);
+ CATEGORY_ICON[L("Pad")] = create_scaled_bitmap(nullptr, "pad");
}
// create control
@@ -409,7 +409,7 @@ void ObjectList::init_icons()
m_objects_model->SetVolumeBitmaps(m_bmp_vector);
// init icon for manifold warning
- m_bmp_manifold_warning = create_scaled_bitmap(nullptr, "exclamation_mark_.png");
+ m_bmp_manifold_warning = create_scaled_bitmap(nullptr, "exclamation");
// init bitmap for "Split to sub-objects" context menu
m_bmp_split = create_scaled_bitmap(nullptr, "split_parts_SMALL");
diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp
index afffebbb3..6a09b5a94 100644
--- a/src/slic3r/GUI/MainFrame.cpp
+++ b/src/slic3r/GUI/MainFrame.cpp
@@ -281,30 +281,30 @@ void MainFrame::init_menubar()
wxMenu* import_menu = new wxMenu();
wxMenuItem* item_import_model = append_menu_item(import_menu, wxID_ANY, _(L("Import STL/OBJ/AM&F/3MF")) + dots + "\tCtrl+I", _(L("Load a model")),
- [this](wxCommandEvent&) { if (m_plater) m_plater->add_model(); }, "brick_add.png");
+ [this](wxCommandEvent&) { if (m_plater) m_plater->add_model(); }, "import_plater");
import_menu->AppendSeparator();
append_menu_item(import_menu, wxID_ANY, _(L("Import &Config")) + dots + "\tCtrl+L", _(L("Load exported configuration file")),
- [this](wxCommandEvent&) { load_config_file(); }, "plugin_add.png");
+ [this](wxCommandEvent&) { load_config_file(); }, "import_config");
append_menu_item(import_menu, wxID_ANY, _(L("Import Config from &project")) + dots +"\tCtrl+Alt+L", _(L("Load configuration from project file")),
- [this](wxCommandEvent&) { if (m_plater) m_plater->extract_config_from_project(); }, "plugin_add.png");
+ [this](wxCommandEvent&) { if (m_plater) m_plater->extract_config_from_project(); }, "import_config");
import_menu->AppendSeparator();
append_menu_item(import_menu, wxID_ANY, _(L("Import Config &Bundle")) + dots, _(L("Load presets from a bundle")),
- [this](wxCommandEvent&) { load_configbundle(); }, "lorry_add.png");
+ [this](wxCommandEvent&) { load_configbundle(); }, "import_config_bundle");
append_submenu(fileMenu, import_menu, wxID_ANY, _(L("&Import")), "");
wxMenu* export_menu = new wxMenu();
wxMenuItem* item_export_gcode = append_menu_item(export_menu, wxID_ANY, _(L("Export &G-code")) + dots +"\tCtrl+G", _(L("Export current plate as G-code")),
- [this](wxCommandEvent&) { if (m_plater) m_plater->export_gcode(); }, "cog_go.png");
+ [this](wxCommandEvent&) { if (m_plater) m_plater->export_gcode(); }, "export_gcode");
export_menu->AppendSeparator();
wxMenuItem* item_export_stl = append_menu_item(export_menu, wxID_ANY, _(L("Export plate as &STL")) + dots, _(L("Export current plate as STL")),
- [this](wxCommandEvent&) { if (m_plater) m_plater->export_stl(); }, "brick_go.png");
+ [this](wxCommandEvent&) { if (m_plater) m_plater->export_stl(); }, "export_plater");
wxMenuItem* item_export_amf = append_menu_item(export_menu, wxID_ANY, _(L("Export plate as &AMF")) + dots, _(L("Export current plate as AMF")),
- [this](wxCommandEvent&) { if (m_plater) m_plater->export_amf(); }, "brick_go.png");
+ [this](wxCommandEvent&) { if (m_plater) m_plater->export_amf(); }, "export_plater");
export_menu->AppendSeparator();
append_menu_item(export_menu, wxID_ANY, _(L("Export &Config")) +dots +"\tCtrl+E", _(L("Export current configuration to file")),
- [this](wxCommandEvent&) { export_config(); }, "plugin_go.png");
+ [this](wxCommandEvent&) { export_config(); }, "export_config");
append_menu_item(export_menu, wxID_ANY, _(L("Export Config &Bundle")) + dots, _(L("Export all presets to file")),
- [this](wxCommandEvent&) { export_configbundle(); }, "lorry_go.png");
+ [this](wxCommandEvent&) { export_configbundle(); }, "export_config_bundle");
append_submenu(fileMenu, export_menu, wxID_ANY, _(L("&Export")), "");
fileMenu->AppendSeparator();
diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp
index 0b501b81e..8512011d8 100644
--- a/src/slic3r/GUI/Plater.cpp
+++ b/src/slic3r/GUI/Plater.cpp
@@ -143,7 +143,7 @@ ObjectInfo::ObjectInfo(wxWindow *parent) :
info_manifold_text->SetFont(wxGetApp().small_font());
info_manifold = new wxStaticText(parent, wxID_ANY, "");
info_manifold->SetFont(wxGetApp().small_font());
- manifold_warning_icon = new wxStaticBitmap(parent, wxID_ANY, create_scaled_bitmap(parent, "exclamation_mark_.png")/*bitmap*/);
+ manifold_warning_icon = new wxStaticBitmap(parent, wxID_ANY, create_scaled_bitmap(parent, "exclamation"));
auto *sizer_manifold = new wxBoxSizer(wxHORIZONTAL);
sizer_manifold->Add(info_manifold_text, 0);
sizer_manifold->Add(manifold_warning_icon, 0, wxLEFT, 2);
@@ -2869,11 +2869,11 @@ bool Plater::priv::init_common_menu(wxMenu* menu, const bool is_part/* = false*/
return false;
append_menu_item(mirror_menu, wxID_ANY, _(L("Along X axis")), _(L("Mirror the selected object along the X axis")),
- [this](wxCommandEvent&) { mirror(X); }, "bullet_red.png", menu);
+ [this](wxCommandEvent&) { mirror(X); }, "mark_X", menu);
append_menu_item(mirror_menu, wxID_ANY, _(L("Along Y axis")), _(L("Mirror the selected object along the Y axis")),
- [this](wxCommandEvent&) { mirror(Y); }, "bullet_green.png", menu);
+ [this](wxCommandEvent&) { mirror(Y); }, "mark_Y", menu);
append_menu_item(mirror_menu, wxID_ANY, _(L("Along Z axis")), _(L("Mirror the selected object along the Z axis")),
- [this](wxCommandEvent&) { mirror(Z); }, "bullet_blue.png", menu);
+ [this](wxCommandEvent&) { mirror(Z); }, "mark_Z", menu);
wxMenuItem* item_mirror = append_submenu(menu, mirror_menu, wxID_ANY, _(L("Mirror")), _(L("Mirror the selected object")));
@@ -2894,7 +2894,7 @@ bool Plater::priv::complit_init_object_menu()
return false;
wxMenuItem* item_split_objects = append_menu_item(split_menu, wxID_ANY, _(L("To objects")), _(L("Split the selected object into individual objects")),
- [this](wxCommandEvent&) { split_object(); }, "split_objects", &object_menu);
+ [this](wxCommandEvent&) { split_object(); }, "split_object_SMALL", &object_menu);
wxMenuItem* item_split_volumes = append_menu_item(split_menu, wxID_ANY, _(L("To parts")), _(L("Split the selected object into individual sub-parts")),
[this](wxCommandEvent&) { split_volume(); }, "split_parts_SMALL", &object_menu);
@@ -2916,7 +2916,7 @@ bool Plater::priv::complit_init_object_menu()
bool Plater::priv::complit_init_sla_object_menu()
{
wxMenuItem* item_split = append_menu_item(&sla_object_menu, wxID_ANY, _(L("Split")), _(L("Split the selected object into individual objects")),
- [this](wxCommandEvent&) { split_object(); }, "split_objects");
+ [this](wxCommandEvent&) { split_object(); }, "split_object_SMALL");
sla_object_menu.AppendSeparator();
diff --git a/src/slic3r/GUI/PresetBundle.cpp b/src/slic3r/GUI/PresetBundle.cpp
index 6e93d0670..bcf76d958 100644
--- a/src/slic3r/GUI/PresetBundle.cpp
+++ b/src/slic3r/GUI/PresetBundle.cpp
@@ -414,13 +414,11 @@ void PresetBundle::load_compatible_bitmaps(wxWindow *window)
filaments .set_bitmap_compatible(m_bitmapCompatible);
sla_prints .set_bitmap_compatible(m_bitmapCompatible);
sla_materials.set_bitmap_compatible(m_bitmapCompatible);
- printers .set_bitmap_compatible(m_bitmapCompatible);
prints .set_bitmap_incompatible(m_bitmapIncompatible);
filaments .set_bitmap_incompatible(m_bitmapIncompatible);
sla_prints .set_bitmap_incompatible(m_bitmapIncompatible);
sla_materials.set_bitmap_incompatible(m_bitmapIncompatible);
- printers .set_bitmap_incompatible(m_bitmapIncompatible);
prints .set_bitmap_lock(m_bitmapLock);
filaments .set_bitmap_lock(m_bitmapLock);
diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp
index 6457de165..a697c7a71 100644
--- a/src/slic3r/GUI/Tab.cpp
+++ b/src/slic3r/GUI/Tab.cpp
@@ -153,7 +153,7 @@ void Tab::create_preset_tab()
m_bmp_non_system = &m_bmp_white_bullet;
// Bitmaps to be shown on the "Undo user changes" button next to each input field.
m_bmp_value_revert = create_scaled_bitmap(this, "undo");
- m_bmp_white_bullet = create_scaled_bitmap(this, "bullet_white.png");
+ m_bmp_white_bullet = create_scaled_bitmap(this, luma >= 128 ? "dot" : "dot_white"/*"bullet_white.png"*/);
m_bmp_question = create_scaled_bitmap(this, "question");
fill_icon_descriptions();
@@ -1632,7 +1632,7 @@ void TabPrinter::build_printhost(ConfigOptionsGroup *optgroup)
auto btn = m_printhost_browse_btn = new wxButton(parent, wxID_ANY, _(L(" Browse ")) + dots,
wxDefaultPosition, wxDefaultSize, wxBU_LEFT | wxBU_EXACTFIT);
btn->SetFont(Slic3r::GUI::wxGetApp().normal_font());
- btn->SetBitmap(create_scaled_bitmap(this, "zoom.png"));
+ btn->SetBitmap(create_scaled_bitmap(this, "browse"));
auto sizer = new wxBoxSizer(wxHORIZONTAL);
sizer->Add(btn);
@@ -1651,7 +1651,7 @@ void TabPrinter::build_printhost(ConfigOptionsGroup *optgroup)
auto btn = m_print_host_test_btn = new wxButton(parent, wxID_ANY, _(L("Test")),
wxDefaultPosition, wxDefaultSize, wxBU_LEFT | wxBU_EXACTFIT);
btn->SetFont(Slic3r::GUI::wxGetApp().normal_font());
- btn->SetBitmap(create_scaled_bitmap(this, "wrench.png"));
+ btn->SetBitmap(create_scaled_bitmap(this, "test"));
auto sizer = new wxBoxSizer(wxHORIZONTAL);
sizer->Add(btn);
@@ -1688,7 +1688,7 @@ void TabPrinter::build_printhost(ConfigOptionsGroup *optgroup)
auto printhost_cafile_browse = [this, optgroup] (wxWindow* parent) {
auto btn = new wxButton(parent, wxID_ANY, _(L(" Browse "))+dots, wxDefaultPosition, wxDefaultSize, wxBU_LEFT);
btn->SetFont(Slic3r::GUI::wxGetApp().normal_font());
- btn->SetBitmap(create_scaled_bitmap(this, "zoom.png"));
+ btn->SetBitmap(create_scaled_bitmap(this, "browse"));
auto sizer = new wxBoxSizer(wxHORIZONTAL);
sizer->Add(btn);
@@ -1766,7 +1766,7 @@ void TabPrinter::build_fff()
line.widget = [this](wxWindow* parent) {
auto btn = new wxButton(parent, wxID_ANY, _(L(" Set "))+dots, wxDefaultPosition, wxDefaultSize, wxBU_LEFT | wxBU_EXACTFIT);
btn->SetFont(wxGetApp().small_font());
- btn->SetBitmap(create_scaled_bitmap(this, "printer"));
+ btn->SetBitmap(create_scaled_bitmap(this, "printer_white"));
auto sizer = new wxBoxSizer(wxHORIZONTAL);
sizer->Add(btn);
@@ -1967,7 +1967,7 @@ void TabPrinter::build_sla()
line.widget = [this](wxWindow* parent) {
auto btn = new wxButton(parent, wxID_ANY, _(L(" Set ")) + dots, wxDefaultPosition, wxDefaultSize, wxBU_LEFT | wxBU_EXACTFIT);
btn->SetFont(wxGetApp().small_font());
- btn->SetBitmap(create_scaled_bitmap(this, "printer"));
+ btn->SetBitmap(create_scaled_bitmap(this, "printer_white"));
auto sizer = new wxBoxSizer(wxHORIZONTAL);
sizer->Add(btn);
@@ -2912,7 +2912,7 @@ wxSizer* Tab::compatible_widget_create(wxWindow* parent, PresetDependencies &dep
deps.btn = new wxButton(parent, wxID_ANY, _(L(" Set "))+dots, wxDefaultPosition, wxDefaultSize, wxBU_LEFT | wxBU_EXACTFIT);
deps.btn->SetFont(Slic3r::GUI::wxGetApp().normal_font());
- deps.btn->SetBitmap(create_scaled_bitmap(this, "printer"));
+ deps.btn->SetBitmap(create_scaled_bitmap(this, "printer_white"));
auto sizer = new wxBoxSizer(wxHORIZONTAL);
sizer->Add((deps.checkbox), 0, wxALIGN_CENTER_VERTICAL);
@@ -3308,7 +3308,7 @@ void TabSLAPrint::build()
optgroup->append_single_option_line("layer_height");
optgroup->append_single_option_line("faded_layers");
- page = add_options_page(_(L("Supports")), "sla_supports");
+ page = add_options_page(_(L("Supports")), "support"/*"sla_supports"*/);
optgroup = page->new_optgroup(_(L("Supports")));
optgroup->append_single_option_line("supports_enable");
@@ -3336,7 +3336,7 @@ void TabSLAPrint::build()
optgroup->append_single_option_line("support_points_density_relative");
optgroup->append_single_option_line("support_points_minimal_distance");
- page = add_options_page(_(L("Pad")), "brick.png");
+ page = add_options_page(_(L("Pad")), "pad");
optgroup = page->new_optgroup(_(L("Pad")));
optgroup->append_single_option_line("pad_enable");
optgroup->append_single_option_line("pad_wall_thickness");
diff --git a/src/slic3r/GUI/wxExtensions.cpp b/src/slic3r/GUI/wxExtensions.cpp
index 6e078617d..c0390d1a2 100644
--- a/src/slic3r/GUI/wxExtensions.cpp
+++ b/src/slic3r/GUI/wxExtensions.cpp
@@ -464,7 +464,7 @@ void PrusaObjectDataViewModelNode::set_object_action_icon() {
m_action_icon = create_scaled_bitmap(nullptr, "advanced_plus"); // FIXME: pass window ptr
}
void PrusaObjectDataViewModelNode::set_part_action_icon() {
- m_action_icon = create_scaled_bitmap(nullptr, m_type == itVolume ? "cog.png" : "brick_go.png"); // FIXME: pass window ptr
+ m_action_icon = create_scaled_bitmap(nullptr, m_type == itVolume ? "cog" : "set_separate_obj"); // FIXME: pass window ptr
}
Slic3r::GUI::BitmapCache *m_bitmap_cache = nullptr;