Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Preferences.hpp « GUI « slic3r « src « xs - github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c30e94d22596418806530a826d6d8406d3eb45e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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