mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Add the full source of BambuStudio
using version 1.0.10
This commit is contained in:
parent
30bcadab3e
commit
1555904bef
3771 changed files with 1251328 additions and 0 deletions
36
src/slic3r/GUI/AuxiliaryDialog.cpp
Normal file
36
src/slic3r/GUI/AuxiliaryDialog.cpp
Normal file
|
@ -0,0 +1,36 @@
|
|||
#include "AuxiliaryDialog.hpp"
|
||||
#include "I18N.hpp"
|
||||
#include "GUI_AuxiliaryList.hpp"
|
||||
|
||||
#include "libslic3r/Utils.hpp"
|
||||
|
||||
namespace pt = boost::property_tree;
|
||||
typedef pt::ptree JSON;
|
||||
|
||||
namespace Slic3r {
|
||||
namespace GUI {
|
||||
|
||||
|
||||
AuxiliaryDialog::AuxiliaryDialog(wxWindow * parent)
|
||||
: DPIDialog(parent, wxID_ANY, _L("Auxiliaryies"), wxDefaultPosition,
|
||||
wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
|
||||
{
|
||||
m_aux_list = new AuxiliaryList(this);
|
||||
|
||||
SetSizerAndFit(m_aux_list->get_top_sizer());
|
||||
SetSize({80 * em_unit(), 50 * em_unit()});
|
||||
|
||||
Layout();
|
||||
Center();
|
||||
}
|
||||
|
||||
void AuxiliaryDialog::on_dpi_changed(const wxRect& suggested_rect)
|
||||
{
|
||||
Fit();
|
||||
SetSize({80 * em_unit(), 50 * em_unit()});
|
||||
//m_aux_list->msw_rescale();
|
||||
Refresh();
|
||||
}
|
||||
|
||||
} // namespace GUI
|
||||
} // namespace Slic3r
|
Loading…
Add table
Add a link
Reference in a new issue