diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-09-10 16:44:03 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-09-10 16:44:03 -0300 |
commit | 491dde2eb46a3d5af60256a21a23d6c32e4bfa46 (patch) | |
tree | 7bf71d49ec7290294c330508fb59d0f8ca41b6da /tools/editor/editor_node.h | |
parent | 67d3935eb17110d71235f52d1b2040f06c8f2b23 (diff) |
Made it possible to properly draw over the 2D canvas for 2D objects. Arranged some functions to achieve this.
Diffstat (limited to 'tools/editor/editor_node.h')
-rw-r--r-- | tools/editor/editor_node.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/editor/editor_node.h b/tools/editor/editor_node.h index e6119cf577..147a0fd6ed 100644 --- a/tools/editor/editor_node.h +++ b/tools/editor/editor_node.h @@ -780,8 +780,9 @@ public: void make_visible(bool p_visible); void edit(Object *p_object); - bool forward_input_event(const InputEvent& p_event); + bool forward_input_event(const Matrix32& p_canvas_xform,const InputEvent& p_event); bool forward_spatial_input_event(Camera* p_camera, const InputEvent& p_event); + void forward_draw_over_canvas(const Matrix32& p_canvas_xform,Control* p_canvas); void clear(); bool empty(); |