3DScene timer and _variable_layer_thickness_action method moved to c++

This commit is contained in:
Enrico Turri
2018-05-30 15:18:45 +02:00
parent 2f773a89df
commit 30a3b2179b
11 changed files with 389 additions and 136 deletions

View File

@@ -119,6 +119,9 @@ public:
unsigned int get_layers_editing_z_texture_id(wxGLCanvas* canvas) const;
unsigned int get_layers_editing_state(wxGLCanvas* canvas) const;
void set_layers_editing_state(wxGLCanvas* canvas, unsigned int state);
float get_layers_editing_band_width(wxGLCanvas* canvas) const;
void set_layers_editing_band_width(wxGLCanvas* canvas, float band_width);
@@ -155,6 +158,10 @@ public:
void render_volumes(wxGLCanvas* canvas, bool fake_colors) const;
void render_texture(wxGLCanvas* canvas, unsigned int tex_id, float left, float right, float bottom, float top) const;
void start_timer(wxGLCanvas* canvas);
void stop_timer(wxGLCanvas* canvas);
void perform_layer_editing_action(wxGLCanvas* canvas, int y, bool shift_down, bool right_down);
void register_on_viewport_changed_callback(wxGLCanvas* canvas, void* callback);
private: