mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
ENH: [STUDIO-1398] UI optimization for flushing amount setting window
Change-Id: I40f7a589b4a9dac0022c588e71aaa13d10c5e4d8
This commit is contained in:
parent
12a66c5c70
commit
c1010e5d0e
2 changed files with 36 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
#ifndef _WIPE_TOWER_DIALOG_H_
|
||||
#define _WIPE_TOWER_DIALOG_H_
|
||||
|
||||
#include "GUI_Utils.hpp"
|
||||
|
||||
#include <wx/spinctrl.h>
|
||||
#include <wx/stattext.h>
|
||||
#include <wx/textctrl.h>
|
||||
|
@ -62,7 +64,8 @@ private:
|
|||
|
||||
|
||||
|
||||
class WipingDialog : public wxDialog {
|
||||
class WipingDialog : public Slic3r::GUI::DPIDialog
|
||||
{
|
||||
public:
|
||||
WipingDialog(wxWindow* parent, const std::vector<float>& matrix, const std::vector<float>& extruders, const std::vector<std::string>& extruder_colours,
|
||||
int extra_flush_volume, float flush_multiplier);
|
||||
|
@ -79,10 +82,13 @@ public:
|
|||
return m_panel_wiping->get_flush_multiplier();
|
||||
}
|
||||
|
||||
void on_dpi_changed(const wxRect &suggested_rect) override;
|
||||
|
||||
private:
|
||||
WipingPanel* m_panel_wiping = nullptr;
|
||||
std::vector<float> m_output_matrix;
|
||||
std::vector<float> m_output_extruders;
|
||||
std::unordered_map<int, Button *> m_button_list;
|
||||
};
|
||||
|
||||
#endif // _WIPE_TOWER_DIALOG_H_
|
Loading…
Add table
Add a link
Reference in a new issue