mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-19 06:41:14 -06:00
ENH: calibration
1.fix some issue: STUDIO-3127、STUDIO-3138、STUDIO-3135、STUDIO-3123、STUDIO-3117、STUDIO-3115、STUDIO-3114、STUDIO-3113、STUDIO-3112 and other issues 2.refine UI 3.FLOW RATE multi-slots calibrate saving related logic 4.add input validate and access protection Change-Id: Ie6c04fdfd050cc48607182bd8cc8f145381a5b70
This commit is contained in:
parent
959de9d8af
commit
304c3abfe9
16 changed files with 1105 additions and 686 deletions
|
@ -151,12 +151,16 @@ void TabButtonsListCtrl::RemovePage(size_t n)
|
|||
m_sizer->Layout();
|
||||
}
|
||||
|
||||
bool TabButtonsListCtrl::SetPageImage(size_t n, const std::string &bmp_name) const
|
||||
bool TabButtonsListCtrl::SetPageImage(size_t n, const std::string &bmp_name)
|
||||
{
|
||||
if (n >= m_pageButtons.size())
|
||||
return false;
|
||||
|
||||
ScalableBitmap bitmap(NULL, bmp_name);
|
||||
|
||||
ScalableBitmap bitmap;
|
||||
if (!bmp_name.empty())
|
||||
bitmap = ScalableBitmap(this, bmp_name, 14);
|
||||
m_pageButtons[n]->SetBitmap(bitmap);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue