From 70f5efbfc37e75478bee5c0c99eddf7459df7e8d Mon Sep 17 00:00:00 2001 From: David Kocik Date: Wed, 26 Feb 2020 15:01:44 +0100 Subject: [PATCH] eject sd card/usb icon --- resources/icons/eject_sd.svg | 11 ++ resources/icons/export_to_sd.svg | 188 +++---------------------- resources/icons/white/export_to_sd.svg | 22 +++ src/slic3r/GUI/Plater.cpp | 2 +- 4 files changed, 55 insertions(+), 168 deletions(-) create mode 100644 resources/icons/eject_sd.svg create mode 100644 resources/icons/white/export_to_sd.svg diff --git a/resources/icons/eject_sd.svg b/resources/icons/eject_sd.svg new file mode 100644 index 000000000..0efe87bad --- /dev/null +++ b/resources/icons/eject_sd.svg @@ -0,0 +1,11 @@ + + + + + + diff --git a/resources/icons/export_to_sd.svg b/resources/icons/export_to_sd.svg index 516cec435..bd28c6a0a 100644 --- a/resources/icons/export_to_sd.svg +++ b/resources/icons/export_to_sd.svg @@ -1,168 +1,22 @@ - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + diff --git a/resources/icons/white/export_to_sd.svg b/resources/icons/white/export_to_sd.svg new file mode 100644 index 000000000..ebeacb905 --- /dev/null +++ b/resources/icons/white/export_to_sd.svg @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 0f9b21b78..704284d4a 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -871,7 +871,7 @@ Sidebar::Sidebar(Plater *parent) }; init_scalable_btn(&p->btn_send_gcode , "export_gcode", _(L("Send to printer")) + "\tCtrl+Shift+G"); - init_scalable_btn(&p->btn_remove_device, "cross" , _(L("Remove device"))); + init_scalable_btn(&p->btn_remove_device, "eject_sd" , _(L("Remove device"))); init_scalable_btn(&p->btn_export_gcode_removable, "export_to_sd", _(L("Export to SD card / Flash drive"))); // regular buttons "Slice now" and "Export G-code"