mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 21:58:03 -06:00
Added Preferences files
This commit is contained in:
parent
3e09e93037
commit
d61295eb10
2 changed files with 147 additions and 0 deletions
27
xs/src/slic3r/GUI/Preferences.hpp
Normal file
27
xs/src/slic3r/GUI/Preferences.hpp
Normal file
|
@ -0,0 +1,27 @@
|
|||
#include "GUI.hpp"
|
||||
|
||||
#include <wx/dialog.h>
|
||||
#include <map>
|
||||
|
||||
namespace Slic3r {
|
||||
namespace GUI {
|
||||
|
||||
class ConfigOptionsGroup;
|
||||
|
||||
class PreferencesDialog : public wxDialog
|
||||
{
|
||||
std::map<std::string, std::string> m_values;
|
||||
std::shared_ptr<ConfigOptionsGroup> m_optgroup;
|
||||
int m_event_preferences;
|
||||
public:
|
||||
PreferencesDialog(wxWindow* parent, int event_preferences) : wxDialog(parent, wxID_ANY, _(L("Preferences")),
|
||||
wxDefaultPosition, wxDefaultSize), m_event_preferences(event_preferences) { build(); }
|
||||
~PreferencesDialog(){ }
|
||||
|
||||
void build();
|
||||
void accept();
|
||||
};
|
||||
|
||||
} // GUI
|
||||
} // Slic3r
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue