Reorganized object settings pane

+ Added new control - PrusaLockButton
This commit is contained in:
YuSanka
2018-08-28 15:51:53 +02:00
parent 41c093a258
commit 5557e59d43
8 changed files with 152 additions and 27 deletions

View File

@@ -57,6 +57,7 @@ public:
size_t full_width {0};
wxSizer* sizer {nullptr};
widget_t widget {nullptr};
std::function<wxWindow*(wxWindow*)> near_label_widget{ nullptr };
void append_option(const Option& option) {
m_options.push_back(option);
@@ -178,6 +179,8 @@ public:
#endif /* __WXGTK__ */
}
wxGridSizer* get_grid_sizer(){ return m_grid_sizer; }
protected:
std::map<t_config_option_key, Option> m_options;
wxWindow* m_parent {nullptr};