diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-05 08:36:10 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-05 08:36:10 +0200 |
commit | b5c053321c89217b1cae0d4670d66a1af0c68bc8 (patch) | |
tree | fe227d4bc6d24e378f18dd636a56cc668abeecd7 /scene/gui/graph_edit.h | |
parent | 1499840f75b8c0a655b3ca23ac127361934645b0 (diff) | |
parent | 9a35ede23f1139bd5b232311c5cfdfec436e6288 (diff) | |
download | redot-engine-b5c053321c89217b1cae0d4670d66a1af0c68bc8.tar.gz |
Merge pull request #64840 from maximkulkin/graph-edit-node-selection
Add GraphNode 'selected' and 'deselected' signals, simplify GraphEdit
Diffstat (limited to 'scene/gui/graph_edit.h')
-rw-r--r-- | scene/gui/graph_edit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/graph_edit.h b/scene/gui/graph_edit.h index 0a0676699f..b6ce575009 100644 --- a/scene/gui/graph_edit.h +++ b/scene/gui/graph_edit.h @@ -186,6 +186,8 @@ private: PackedVector2Array get_connection_line(const Vector2 &p_from, const Vector2 &p_to); void _draw_connection_line(CanvasItem *p_where, const Vector2 &p_from, const Vector2 &p_to, const Color &p_color, const Color &p_to_color, float p_width, float p_zoom); + void _graph_node_selected(Node *p_gn); + void _graph_node_deselected(Node *p_gn); void _graph_node_raised(Node *p_gn); void _graph_node_moved(Node *p_gn); void _graph_node_slot_updated(int p_index, Node *p_gn); |