mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-31 05:51:49 -06:00
3DScene's char event handler moved to c++
This commit is contained in:
parent
2b4829a4b9
commit
41c51d7614
4 changed files with 70 additions and 30 deletions
|
@ -8,6 +8,7 @@ class wxGLCanvas;
|
|||
class wxGLContext;
|
||||
class wxSizeEvent;
|
||||
class wxIdleEvent;
|
||||
class wxKeyEvent;
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
|
@ -172,6 +173,7 @@ public:
|
|||
|
||||
void on_size(wxSizeEvent& evt);
|
||||
void on_idle(wxIdleEvent& evt);
|
||||
void on_char(wxKeyEvent& evt);
|
||||
|
||||
private:
|
||||
void _zoom_to_bounding_box(const BoundingBoxf3& bbox);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue