3DScene layers editing mouse containment methods moved to c++

This commit is contained in:
Enrico Turri
2018-05-28 14:39:59 +02:00
parent 994222c317
commit aacdcd4add
8 changed files with 151 additions and 68 deletions

View File

@@ -138,6 +138,8 @@ public:
float get_layers_editing_cursor_z_relative(wxGLCanvas* canvas) const;
int get_layers_editing_first_selected_object_id(wxGLCanvas* canvas, unsigned int objects_count) const;
bool bar_rect_contains(wxGLCanvas* canvas, float x, float y) const;
bool reset_rect_contains(wxGLCanvas* canvas, float x, float y) const;
void zoom_to_bed(wxGLCanvas* canvas);
void zoom_to_volumes(wxGLCanvas* canvas);