This commit is contained in:
QIDI TECH
2024-09-03 09:34:33 +08:00
parent 27f34aa3e8
commit 585146181b
5147 changed files with 1734881 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
#ifndef slic3r_GUI_ParamsDialog_hpp_
#define slic3r_GUI_ParamsDialog_hpp_
#include <wx/wx.h>
#include <wx/intl.h>
#include <wx/collpane.h>
#include "GUI_Utils.hpp"
#include "wxExtensions.hpp"
namespace Slic3r {
namespace GUI {
wxDECLARE_EVENT(EVT_MODIFY_FILAMENT, SimpleEvent);
class FilamentInfomation : public wxObject
{
public:
std::string filament_id;
std::string filament_name;
};
class ParamsPanel;
class ParamsDialog : public DPIDialog
{
public:
ParamsDialog(wxWindow * parent);
ParamsPanel * panel() { return m_panel; }
void Popup();
void set_editing_filament_id(std::string id) { m_editing_filament_id = id; }
protected:
void on_dpi_changed(const wxRect& suggested_rect) override;
private:
std::string m_editing_filament_id;
ParamsPanel * m_panel;
wxWindowDisabler *m_winDisabler = nullptr;
};
} // namespace GUI
} // namespace Slic3r
#endif