GUI_Tab.xsp 598 B

1234567891011121314151617181920212223
  1. %module{Slic3r::XS};
  2. %{
  3. #include <xsinit.h>
  4. #include "slic3r/GUI/TabIface.hpp"
  5. %}
  6. %name{Slic3r::GUI::Tab} class TabIface {
  7. TabIface();
  8. ~TabIface();
  9. void load_current_preset();
  10. void update_tab_ui();
  11. void update_ui_from_settings();
  12. void select_preset(char* name);
  13. void load_config(DynamicPrintConfig* config);
  14. bool current_preset_is_dirty();
  15. void load_key_value(char* opt_key, char* value);
  16. void OnActivate();
  17. std::string title();
  18. Ref<DynamicPrintConfig> get_config();
  19. Ref<PresetCollection> get_presets();
  20. std::vector<std::string> get_dependent_tabs();
  21. };