mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
ENH: add media file and upgrade panel to public
Change-Id: I9fdc16fcc584bf72f85a02668a42c05af0065efc
This commit is contained in:
parent
0bc182436d
commit
f331d5998e
1 changed files with 0 additions and 8 deletions
|
@ -201,13 +201,11 @@ MonitorPanel::~MonitorPanel()
|
|||
m_status_info_panel = new StatusPanel(m_tabpanel);
|
||||
m_tabpanel->AddPage(m_status_info_panel, _L("Status"), "", true);
|
||||
|
||||
#if !BBL_RELEASE_TO_PUBLIC
|
||||
m_media_file_panel = new MediaFilePanel(m_tabpanel);
|
||||
m_tabpanel->AddPage(m_media_file_panel, _L("Media"), "", false);
|
||||
|
||||
m_upgrade_panel = new UpgradePanel(m_tabpanel);
|
||||
m_tabpanel->AddPage(m_upgrade_panel, _L("Update"), "", false);
|
||||
#endif
|
||||
|
||||
m_hms_panel = new HMSPanel(m_tabpanel);
|
||||
m_tabpanel->AddPage(m_hms_panel, _L("HMS"),"", false);
|
||||
|
@ -254,10 +252,8 @@ void MonitorPanel::msw_rescale()
|
|||
m_tabpanel->Rescale();
|
||||
//m_status_add_machine_panel->msw_rescale();
|
||||
m_status_info_panel->msw_rescale();
|
||||
#if !BBL_RELEASE_TO_PUBLIC
|
||||
m_media_file_panel->Rescale();
|
||||
m_upgrade_panel->msw_rescale();
|
||||
#endif
|
||||
m_hms_panel->msw_rescale();
|
||||
|
||||
m_connection_info->SetCornerRadius(0);
|
||||
|
@ -408,15 +404,11 @@ void MonitorPanel::update_all()
|
|||
}
|
||||
|
||||
m_status_info_panel->obj = obj;
|
||||
#if !BBL_RELEASE_TO_PUBLIC
|
||||
m_upgrade_panel->update(obj);
|
||||
#endif
|
||||
|
||||
|
||||
m_status_info_panel->m_media_play_ctrl->SetMachineObject(obj);
|
||||
#if !BBL_RELEASE_TO_PUBLIC
|
||||
m_media_file_panel->SetMachineObject(obj);
|
||||
#endif
|
||||
|
||||
update_status(obj);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue