mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Refactored code
This commit is contained in:
parent
a5119a41a5
commit
d2282c4bf9
3 changed files with 97 additions and 76 deletions
|
@ -1053,11 +1053,13 @@ void add_frequently_changed_parameters(wxWindow* parent, wxBoxSizer* sizer, wxFl
|
|||
add_objects_list(parent, sizer);
|
||||
|
||||
// experiment with slider
|
||||
PrusaDoubleSlider* slider_h = new PrusaDoubleSlider(parent, wxID_ANY, 50, 70, 0, 200, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL);
|
||||
PrusaDoubleSlider* slider_h = new PrusaDoubleSlider(parent, wxID_ANY, 50, 70, 0, 200, wxDefaultPosition,
|
||||
wxSize(60, wxDefaultSize.y), wxSL_HORIZONTAL);
|
||||
sizer->AddSpacer(5);
|
||||
sizer->Add(slider_h, 0, wxEXPAND | wxLEFT, 20);
|
||||
sizer->AddSpacer(5);
|
||||
PrusaDoubleSlider* slider_v = new PrusaDoubleSlider(parent, wxID_ANY, 5, 7, 0, 10, wxDefaultPosition, wxSize(wxDefaultSize.x ,150), wxSL_VERTICAL);
|
||||
PrusaDoubleSlider* slider_v = new PrusaDoubleSlider(parent, wxID_ANY, 50, 70, 0, 200, wxDefaultPosition,
|
||||
wxSize(wxDefaultSize.x ,250), wxSL_VERTICAL);
|
||||
slider_v->SetKoefForLabels(0.15);
|
||||
sizer->AddSpacer(5);
|
||||
sizer->Add(slider_v, 0, wxLEFT, 20);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue