mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-01 07:12:07 +00:00
ENH: support msw_rescale
jira: [STUDIO-10907] Change-Id: I1e06043fad6345c47e8c5ceb28db204955aa0969 (cherry picked from commit 193caabdc79d966e8226b5a9b340763b1711d0f3)
This commit is contained in:
@@ -195,6 +195,8 @@ public:
|
||||
public:
|
||||
int get_slots_num() const { return m_slots_num;}
|
||||
|
||||
void msw_rescale();
|
||||
|
||||
protected:
|
||||
void paintEvent(wxPaintEvent& evt);
|
||||
void render(wxDC& dc);
|
||||
@@ -216,7 +218,7 @@ public:
|
||||
wxWindow* send_win{ nullptr };
|
||||
std::vector<std::string> m_materials_list;
|
||||
std::vector<wxBoxSizer*> m_amsmapping_container_sizer_list;
|
||||
std::vector<wxWindow*> m_amsmapping_container_list;
|
||||
std::vector<MappingContainer*> m_amsmapping_container_list;
|
||||
std::vector<MappingItem*> m_mapping_item_list;
|
||||
|
||||
bool m_has_unmatch_filament {false};
|
||||
@@ -281,6 +283,9 @@ public:
|
||||
void set_material_index_str(std::string str) { m_material_index = str; }
|
||||
const std::string &get_material_index_str() { return m_material_index; }
|
||||
|
||||
public:
|
||||
void msw_rescale();
|
||||
|
||||
private:
|
||||
ResetCallback m_reset_callback{nullptr};
|
||||
std::string m_material_index;
|
||||
|
||||
Reference in New Issue
Block a user