PrusaSlicer-NonPlainar/xs/src/slic3r/GUI/Preferences.hpp

33 lines
681 B
C++
Raw Normal View History

2018-04-20 10:58:07 +00:00
#ifndef slic3r_Preferences_hpp_
#define slic3r_Preferences_hpp_
2018-02-23 13:55:27 +00:00
#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
2018-04-20 10:58:07 +00:00
#endif /* slic3r_Preferences_hpp_ */