#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Widgets/AMSItem.hpp>
|
| void | create (wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, int nozzle_num) |
◆ AMSextruder()
| Slic3r::GUI::AMSextruder::AMSextruder |
( |
wxWindow * | parent, |
|
|
wxWindowID | id, |
|
|
int | nozzle_num, |
|
|
const wxPoint & | pos = wxDefaultPosition, |
|
|
const wxSize & | size = wxDefaultSize ) |
848{
849 create(parent,
id, pos, size, nozzle_num);
850}
void create(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, int nozzle_num)
Definition AMSItem.cpp:864
References create().
◆ ~AMSextruder()
| Slic3r::GUI::AMSextruder::~AMSextruder |
( |
| ) |
|
◆ create()
| void Slic3r::GUI::AMSextruder::create |
( |
wxWindow * | parent, |
|
|
wxWindowID | id, |
|
|
const wxPoint & | pos, |
|
|
const wxSize & | size, |
|
|
int | nozzle_num ) |
|
private |
865{
866 wxWindow::Create(parent, id, pos, wxSize(-1, FromDIP(36)), wxBORDER_NONE);
867 SetBackgroundColour(*wxWHITE);
868
870 Layout();
871}
bool updateNozzleNum(int nozzle_num, const std::string &series_name=std::string())
Definition AMSItem.cpp:904
References updateNozzleNum().
Referenced by AMSextruder().
◆ has_ams()
| void Slic3r::GUI::AMSextruder::has_ams |
( |
bool | hams | ) |
|
|
inline |
bool m_has_vams
Definition AMSItem.hpp:472
References m_has_vams.
◆ msw_rescale()
| void Slic3r::GUI::AMSextruder::msw_rescale |
( |
| ) |
|
952{
953
956 Layout();
957 Update();
958 Refresh();
959}
AMSextruderImage * m_left_extruder
Definition AMSItem.hpp:481
AMSextruderImage * m_right_extruder
Definition AMSItem.hpp:482
References m_left_extruder, and m_right_extruder.
◆ no_ams_mode()
| void Slic3r::GUI::AMSextruder::no_ams_mode |
( |
bool | mode | ) |
|
|
inline |
◆ OnAmsLoading()
| void Slic3r::GUI::AMSextruder::OnAmsLoading |
( |
bool | load, |
|
|
int | nozzle_id = 0, |
|
|
wxColour | col = AMS_CONTROL_GRAY500 ) |
◆ OnVamsLoading()
◆ TurnOff()
| void Slic3r::GUI::AMSextruder::TurnOff |
( |
| ) |
|
◆ TurnOn()
| void Slic3r::GUI::AMSextruder::TurnOn |
( |
wxColour | col | ) |
|
◆ updateNozzleNum()
| bool Slic3r::GUI::AMSextruder::updateNozzleNum |
( |
int | nozzle_num, |
|
|
const std::string & | series_name = std::string() ) |
905{
909 this->DestroyChildren();
910
912
915 {
922 }
923 else
924 {
926 {
928 }
930 {
932 }
933 else
934 {
936 }
937
942 }
943
945 Layout();
946 Refresh();
947
948 return true;
949}
#define AMS_EXTRUDER_SINGLE_NOZZLE_N_SIZE
Definition AMSItem.hpp:183
#define AMS_EXTRUDER_SINGLE_NOZZLE_XP_SIZE
Definition AMSItem.hpp:184
#define AMS_EXTRUDER_DOUBLE_NOZZLE_BITMAP_SIZE
Definition AMSItem.hpp:182
std::string m_series_name
Definition AMSItem.hpp:459
wxBoxSizer * m_bitmap_sizer
Definition AMSItem.hpp:478
bool is_series_p() const
Definition DeviceManager.cpp:616
bool is_series_x() const
Definition DeviceManager.cpp:617
bool is_series_n() const
Definition DeviceManager.cpp:615
References AMS_EXTRUDER_DOUBLE_NOZZLE_BITMAP_SIZE, AMS_EXTRUDER_SINGLE_NOZZLE_N_SIZE, AMS_EXTRUDER_SINGLE_NOZZLE_XP_SIZE, Slic3r::MachineObject::is_series_n(), Slic3r::MachineObject::is_series_p(), Slic3r::MachineObject::is_series_x(), m_bitmap_sizer, m_left_extruder, m_nozzle_num, m_right_extruder, and m_series_name.
Referenced by create().
◆ m_ams_loading
| bool Slic3r::GUI::AMSextruder::m_ams_loading {false} |
◆ m_bitmap_panel
| wxPanel* Slic3r::GUI::AMSextruder::m_bitmap_panel {nullptr} |
◆ m_bitmap_sizer
| wxBoxSizer* Slic3r::GUI::AMSextruder::m_bitmap_sizer {nullptr} |
◆ m_current_colur
| wxColour Slic3r::GUI::AMSextruder::m_current_colur |
◆ m_current_colur_deputy
| wxColour Slic3r::GUI::AMSextruder::m_current_colur_deputy |
◆ m_has_vams
| bool Slic3r::GUI::AMSextruder::m_has_vams {false} |
◆ m_left_extruder
◆ m_none_ams_mode
| bool Slic3r::GUI::AMSextruder::m_none_ams_mode {true} |
◆ m_nozzle_num
| int Slic3r::GUI::AMSextruder::m_nozzle_num = -1 |
|
private |
◆ m_right_extruder
◆ m_series_name
| std::string Slic3r::GUI::AMSextruder::m_series_name |
|
private |
◆ m_vams_loading
| bool Slic3r::GUI::AMSextruder::m_vams_loading {false} |
The documentation for this class was generated from the following files:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Widgets/AMSItem.hpp
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Widgets/AMSItem.cpp