1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-19 09:24:27 +00:00

Added LayerRangeEditor class for universally editing of the layer_range's parameters

+ Implemented layer_height editing
This commit is contained in:
YuSanka
2019-06-04 15:22:29 +02:00
parent 79a89c4c8f
commit 4756961678
4 changed files with 85 additions and 32 deletions
+16
View File
@@ -12,6 +12,22 @@ class ModelObject;
namespace GUI {
class ConfigOptionsGroup;
class LayerRangeEditor : public wxTextCtrl
{
bool m_enter_pressed { false };
public:
LayerRangeEditor( wxWindow* parent,
const wxString& value = wxEmptyString,
const wxSize& size = wxDefaultSize,
std::function<void(coordf_t val)> edit_fn = [](coordf_t) {; }
);
~LayerRangeEditor() {}
private:
coordf_t get_value();
};
class ObjectLayers : public OG_Settings
{
ScalableBitmap m_bmp_delete;