Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2020-06-26 10:58:39 +0300
committerYuSanka <yusanka@gmail.com>2020-06-26 11:00:03 +0300
commitd96b5f360661feaa2f964d9f4b18d1e586d2607b (patch)
tree64e9ca2ec266811d3dd30cac7a6bb8a47f5a330f /src/slic3r/GUI/wxExtensions.hpp
parent1a2926050fee0b5ab118054aaa4ccb65614d2063 (diff)
PhysicalPrinter : Next improvements:
* Create full printer name as a PrinterName + RelatedPresetName * Added printer model to the PhysicalPrinter.config => Enable to select just between presets with same printer model * When physical printer is selected and create new preset ask if should we use this preset for selected ph_printer or just to switch for it
Diffstat (limited to 'src/slic3r/GUI/wxExtensions.hpp')
-rw-r--r--src/slic3r/GUI/wxExtensions.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slic3r/GUI/wxExtensions.hpp b/src/slic3r/GUI/wxExtensions.hpp
index 17fe8992c..9be3361bd 100644
--- a/src/slic3r/GUI/wxExtensions.hpp
+++ b/src/slic3r/GUI/wxExtensions.hpp
@@ -130,7 +130,8 @@ public:
ScalableBitmap() {};
ScalableBitmap( wxWindow *parent,
const std::string& icon_name = "",
- const int px_cnt = 16);
+ const int px_cnt = 16,
+ const bool grayscale = false);
~ScalableBitmap() {}
@@ -151,6 +152,7 @@ private:
wxBitmap m_bmp = wxBitmap();
std::string m_icon_name = "";
int m_px_cnt {16};
+ bool m_grayscale {false};
};