2018-01-23 10:37:45 +00:00
|
|
|
%module{Slic3r::XS};
|
|
|
|
|
|
|
|
%{
|
|
|
|
#include <xsinit.h>
|
|
|
|
#include "slic3r/GUI/TabIface.hpp"
|
|
|
|
%}
|
|
|
|
|
2018-02-15 17:16:19 +00:00
|
|
|
%name{Slic3r::GUI::Tab} class TabIface {
|
2018-01-23 10:37:45 +00:00
|
|
|
TabIface();
|
|
|
|
~TabIface();
|
2018-01-25 12:46:04 +00:00
|
|
|
void load_current_preset();
|
|
|
|
void update_tab_ui();
|
|
|
|
void update_ui_from_settings();
|
|
|
|
void select_preset(char* name);
|
|
|
|
void load_config(DynamicPrintConfig* config);
|
|
|
|
bool current_preset_is_dirty();
|
2018-01-26 00:44:34 +00:00
|
|
|
void load_key_value(char* opt_key, char* value);
|
2018-02-06 13:53:38 +00:00
|
|
|
void OnActivate();
|
2018-04-20 15:32:08 +00:00
|
|
|
size_t get_selected_preset_item();
|
2018-02-07 16:13:52 +00:00
|
|
|
std::string title();
|
2018-01-25 12:46:04 +00:00
|
|
|
Ref<DynamicPrintConfig> get_config();
|
|
|
|
Ref<PresetCollection> get_presets();
|
|
|
|
std::vector<std::string> get_dependent_tabs();
|
2018-01-23 10:37:45 +00:00
|
|
|
};
|