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-06-06 15:14:29 +0300
committerYuSanka <yusanka@gmail.com>2019-06-06 16:56:42 +0300
commit71cc0fdb535bdf1cb4c35429655ed75debf0afce (patch)
treec61266fa3d163403130cf1b791ba1e9a563e2ca7 /src/slic3r/GUI/GUI_ObjectLayers.hpp
parent44c05fa2099b3c0a7daa96181d07a8d61e8f6397 (diff)
Some code refactoring and improvements
Diffstat (limited to 'src/slic3r/GUI/GUI_ObjectLayers.hpp')
-rw-r--r--src/slic3r/GUI/GUI_ObjectLayers.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectLayers.hpp b/src/slic3r/GUI/GUI_ObjectLayers.hpp
index 55002ff35..562e04972 100644
--- a/src/slic3r/GUI/GUI_ObjectLayers.hpp
+++ b/src/slic3r/GUI/GUI_ObjectLayers.hpp
@@ -16,9 +16,8 @@ class ModelObject;
namespace GUI {
class ConfigOptionsGroup;
-typedef double coordf_t;
-typedef std::pair<coordf_t, coordf_t> t_layer_height_range;
-typedef std::map<t_layer_height_range, DynamicPrintConfig> t_layer_config_ranges;
+typedef double coordf_t;
+typedef std::pair<coordf_t, coordf_t> t_layer_height_range;
class LayerRangeEditor : public wxTextCtrl
{
@@ -57,8 +56,7 @@ public:
ObjectLayers(wxWindow* parent);
~ObjectLayers() {}
- wxSizer* create_layer_without_buttons(const t_layer_config_ranges::value_type& layer);
- void create_layer(int id);
+ wxSizer* create_layer(const t_layer_height_range& range); // without_buttons
void create_layers_list();
void update_layers_list();