diff options
| author | Juan Linietsky | 2016-08-23 10:15:47 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-08-23 10:15:47 -0300 |
| commit | 231c72b5eb2c81a3e5e21db019db029e9640cc48 (patch) | |
| tree | e6c6f8544de7977caa167a9a0df83149ac5b2b0a /scene/gui/graph_edit.h | |
| parent | cbbcf727035c8b481889f605337a96a9e58ed970 (diff) | |
| download | godot-231c72b5eb2c81a3e5e21db019db029e9640cc48.tar.gz godot-231c72b5eb2c81a3e5e21db019db029e9640cc48.tar.zst godot-231c72b5eb2c81a3e5e21db019db029e9640cc48.zip | |
Diffstat (limited to 'scene/gui/graph_edit.h')
| -rw-r--r-- | scene/gui/graph_edit.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scene/gui/graph_edit.h b/scene/gui/graph_edit.h index 6d35e1518..9f5dd56ed 100644 --- a/scene/gui/graph_edit.h +++ b/scene/gui/graph_edit.h @@ -112,7 +112,9 @@ private: bool updating; List<Connection> connections; - void _draw_cos_line(const Vector2& p_from, const Vector2& p_to, const Color& p_color, const Color &p_to_color); + void _bake_segment2d(CanvasItem* p_where,float p_begin, float p_end, const Vector2& p_a, const Vector2& p_out, const Vector2& p_b, const Vector2& p_in, int p_depth, int p_min_depth, int p_max_depth, float p_tol, const Color& p_color, const Color& p_to_color, int &lines) const; + + void _draw_cos_line(CanvasItem* p_where,const Vector2& p_from, const Vector2& p_to, const Color& p_color, const Color &p_to_color); void _graph_node_raised(Node* p_gn); void _graph_node_moved(Node *p_gn); @@ -128,6 +130,9 @@ private: Array _get_connection_list() const; + bool lines_on_bg; + + struct ConnType { union { |
