mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-07 17:37:03 +02:00
Merged with dev
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
%{
|
||||
#include <xsinit.h>
|
||||
#include "slic3r/GUI/ProgressStatusBar.hpp"
|
||||
#include "slic3r/GUI/GUI.hpp"
|
||||
%}
|
||||
|
||||
%name{Slic3r::GUI::ProgressStatusBar} class ProgressStatusBar {
|
||||
@@ -37,7 +38,7 @@
|
||||
%code%{ THIS->embed(); %};
|
||||
|
||||
void SetStatusText(const char *txt)
|
||||
%code%{ THIS->set_status_text(txt); %};
|
||||
%code%{ THIS->set_status_text(_(txt)); %};
|
||||
|
||||
void SetCancelCallback(SV* callback)
|
||||
%code%{ THIS->m_perl_cancel_callback.register_callback(callback); THIS->show_cancel_button();%};
|
||||
|
||||
Reference in New Issue
Block a user