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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-05-28 17:38:04 +0300
committerYuSanka <yusanka@gmail.com>2019-05-28 17:38:04 +0300
commit765d4264ae9380a549bd84bd8d79d776858d8816 (patch)
tree83ecb976b75d45b6a900be852338d5d6d3ca0cd7 /src/slic3r/GUI/GUI_ObjectLayers.hpp
parent9d19e3d2a72742fd3398174b01be7e1ad583407b (diff)
Implemented ObjectLayers class
+ some code refactoring
Diffstat (limited to 'src/slic3r/GUI/GUI_ObjectLayers.hpp')
-rw-r--r--src/slic3r/GUI/GUI_ObjectLayers.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectLayers.hpp b/src/slic3r/GUI/GUI_ObjectLayers.hpp
new file mode 100644
index 000000000..8f8b55998
--- /dev/null
+++ b/src/slic3r/GUI/GUI_ObjectLayers.hpp
@@ -0,0 +1,36 @@
+#ifndef slic3r_GUI_ObjectLayers_hpp_
+#define slic3r_GUI_ObjectLayers_hpp_
+
+#include "GUI_ObjectSettings.hpp"
+#include "wxExtensions.hpp"
+
+class wxBoxSizer;
+
+namespace Slic3r {
+class ModelObject;
+
+namespace GUI {
+class ConfigOptionsGroup;
+
+class ObjectLayers : public OG_Settings
+{
+ ScalableBitmap m_bmp_delete;
+ ScalableBitmap m_bmp_add;
+
+ int field_width {8};
+
+public:
+ ObjectLayers(wxWindow* parent);
+ ~ObjectLayers() {}
+
+ void update_layers_list();
+ void add_layer() {};
+ void del_layer() {};
+
+ void UpdateAndShow(const bool show) override;
+ void msw_rescale();
+};
+
+}}
+
+#endif // slic3r_GUI_ObjectLayers_hpp_