mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
OSX specific : Set top border for the mode buttons, when settings pages has new layouts
(when tabs bar is hidden) + Code cleaning for OG_CustomCtrl (delete unused input parameter from the draw_blinking_bmp())
This commit is contained in:
parent
1492bc9cd5
commit
8448d1a1dc
7 changed files with 28 additions and 3 deletions
|
@ -696,6 +696,17 @@ void ModeSizer::SetMode(const int mode)
|
|||
m_mode_btns[m]->SetState(int(m) == mode);
|
||||
}
|
||||
|
||||
void ModeSizer::set_items_flag(int flag)
|
||||
{
|
||||
for (wxSizerItem* item : this->GetChildren())
|
||||
item->SetFlag(flag);
|
||||
}
|
||||
|
||||
void ModeSizer::set_items_border(int border)
|
||||
{
|
||||
for (wxSizerItem* item : this->GetChildren())
|
||||
item->SetBorder(border);
|
||||
}
|
||||
|
||||
void ModeSizer::msw_rescale()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue