summaryrefslogtreecommitdiffstats
path: root/scene/gui/graph_node.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-08-05 22:46:45 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-08-05 22:48:00 -0300
commit259418f8275371fc2f0bab6892caa4ef66b84240 (patch)
tree721e21ff566212918bf837f45c7687ce32213032 /scene/gui/graph_node.h
parent6d5d23fa8de8673f4a2b312c05588fd4e7195543 (diff)
downloadredot-engine-259418f8275371fc2f0bab6892caa4ef66b84240.tar.gz
VisualScript can now execute visual scripts, but there is no debugger or profiler yet.
Diffstat (limited to 'scene/gui/graph_node.h')
-rw-r--r--scene/gui/graph_node.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/gui/graph_node.h b/scene/gui/graph_node.h
index f308f30b81..3e1729440e 100644
--- a/scene/gui/graph_node.h
+++ b/scene/gui/graph_node.h
@@ -77,6 +77,8 @@ class GraphNode : public Container {
Vector2 drag_from;
bool selected;
+
+ Color modulate;
protected:
@@ -128,6 +130,9 @@ public:
Color get_connection_output_color(int p_idx);
+ void set_modulate(const Color& p_color);
+ Color get_modulate() const;
+
virtual Size2 get_minimum_size() const;
GraphNode();