ENH: Updated calibration UI for single-extruder printer

jira: none

Change-Id: I4e2d97f38699b13e2bced8f6a37c952f7903aa27
(cherry picked from commit 2e3a5e8ca71e3e9426412f8bd07b916f6be45aed)
This commit is contained in:
zhimin.zeng
2025-03-26 18:25:03 +08:00
committed by Noisyfox
parent fcfb6ac093
commit 3d5abeba60
4 changed files with 121 additions and 146 deletions

View File

@@ -2554,6 +2554,11 @@ void AMSPreview::OnLeaveWindow(wxMouseEvent &evt)
// Refresh();
}
bool AMSPreview::IsSelected() const
{
return m_selected;
}
void AMSPreview::OnSelected()
{
if (!wxWindow::IsEnabled()) { return; }

View File

@@ -691,6 +691,7 @@ public:
void UnSelected();
virtual bool Enable(bool enable = true);
void msw_rescale();
bool IsSelected() const;
std::string get_ams_id() const { return m_amsinfo.ams_id; };