mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
3DScene timer and _variable_layer_thickness_action method moved to c++
This commit is contained in:
parent
2f773a89df
commit
30a3b2179b
11 changed files with 389 additions and 136 deletions
|
@ -578,6 +578,21 @@ get_layers_editing_z_texture_id(canvas)
|
|||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
unsigned int
|
||||
get_layers_editing_state(canvas)
|
||||
SV *canvas;
|
||||
CODE:
|
||||
RETVAL = _3DScene::get_layers_editing_state((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"));
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
void
|
||||
set_layers_editing_state(canvas, state)
|
||||
SV *canvas;
|
||||
unsigned int state;
|
||||
CODE:
|
||||
_3DScene::set_layers_editing_state((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), state);
|
||||
|
||||
float
|
||||
get_layers_editing_band_width(canvas)
|
||||
SV *canvas;
|
||||
|
@ -768,6 +783,27 @@ render_texture(canvas, tex_id, left, right, bottom, top)
|
|||
CODE:
|
||||
_3DScene::render_texture((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), tex_id, left, right, bottom, top);
|
||||
|
||||
void
|
||||
start_timer(canvas)
|
||||
SV *canvas;
|
||||
CODE:
|
||||
_3DScene::start_timer((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"));
|
||||
|
||||
void
|
||||
stop_timer(canvas)
|
||||
SV *canvas;
|
||||
CODE:
|
||||
_3DScene::stop_timer((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"));
|
||||
|
||||
void
|
||||
perform_layer_editing_action(canvas, y, shift_down, right_down)
|
||||
SV *canvas;
|
||||
int y;
|
||||
bool shift_down;
|
||||
bool right_down;
|
||||
CODE:
|
||||
_3DScene::perform_layer_editing_action((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), y, shift_down, right_down);
|
||||
|
||||
void
|
||||
register_on_viewport_changed_callback(canvas, callback)
|
||||
SV *canvas;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue