Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/xsp/GUI.xsp')
-rw-r--r--xs/xsp/GUI.xsp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xs/xsp/GUI.xsp b/xs/xsp/GUI.xsp
index a4d656616..22e2ff1d7 100644
--- a/xs/xsp/GUI.xsp
+++ b/xs/xsp/GUI.xsp
@@ -59,6 +59,9 @@ void show_error_id(int id, std::string msg)
TabIface* get_preset_tab(char *name)
%code%{ RETVAL=Slic3r::GUI::get_preset_tab_iface(name); %};
+PreviewIface* create_preview_iface(SV *ui, DynamicPrintConfig* config, Print* print, GCodePreviewData* gcode_preview_data)
+ %code%{ RETVAL=Slic3r::GUI::create_preview_iface((wxNotebook*)wxPli_sv_2_object(aTHX_ ui, "Wx::Notebook"), config, print, gcode_preview_data); %};
+
bool load_language()
%code%{ RETVAL=Slic3r::GUI::load_language(); %};