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