Temporary changes and code cleaning

This commit is contained in:
YuSanka 2018-10-03 15:14:52 +02:00
parent 9ce9b87e81
commit 8f6e3cc43b
11 changed files with 92 additions and 281 deletions

View file

@ -8,11 +8,15 @@
#include "Preset.hpp"
class wxBoxSizer;
namespace Slic3r {
namespace GUI {
class MainFrame;
class ConfigOptionsGroup;
using t_optgroups = std::vector <std::shared_ptr<ConfigOptionsGroup>>;
class Sidebar : public wxPanel
{
@ -25,6 +29,15 @@ public:
~Sidebar();
void update_presets(Slic3r::Preset::Type preset_type);
void add_frequently_changed_parameters(wxWindow* parent, wxBoxSizer* sizer);
void add_objects_list(wxWindow* parent, wxBoxSizer* sizer);
void add_object_settings(wxWindow* parent, wxBoxSizer* sizer, t_optgroups& optgroups);
ConfigOptionsGroup* get_optgroup(size_t i);
t_optgroups& get_optgroups();
wxButton* get_wiping_dialog_button();
private:
struct priv;
std::unique_ptr<priv> p;