summaryrefslogtreecommitdiffstats
path: root/scene/gui/graph_node.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-08-08 10:57:33 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-08-08 10:59:45 -0300
commitdb7f49183357c282e267c0743411505eb61f1c6f (patch)
tree7d2bacfbd9df68c005851ad787556dd929131210 /scene/gui/graph_node.h
parent51d8206ee8ce509db7cfe2e9ac1cd93be877eeff (diff)
downloadredot-engine-db7f49183357c282e267c0743411505eb61f1c6f.tar.gz
Fixes node selection, and properly ignore mouse on inner comment node body, closes #6298
Diffstat (limited to 'scene/gui/graph_node.h')
-rw-r--r--scene/gui/graph_node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/graph_node.h b/scene/gui/graph_node.h
index 056b699aa6..a7d9e8ddb0 100644
--- a/scene/gui/graph_node.h
+++ b/scene/gui/graph_node.h
@@ -99,8 +99,6 @@ private:
Overlay overlay;
- bool has_point(const Point2 &p_point) const;
-
protected:
void _gui_input(const Ref<InputEvent> &p_ev);
void _notification(int p_what);
@@ -111,6 +109,8 @@ protected:
void _get_property_list(List<PropertyInfo> *p_list) const;
public:
+ bool has_point(const Point2 &p_point) const;
+
void set_slot(int p_idx, bool p_enable_left, int p_type_left, const Color &p_color_left, bool p_enable_right, int p_type_right, const Color &p_color_right, const Ref<Texture> &p_custom_left = Ref<Texture>(), const Ref<Texture> &p_custom_right = Ref<Texture>());
void clear_slot(int p_idx);
void clear_all_slots();