4 #include "scene/gui/graph_node.h" 5 #include "scene/gui/scroll_bar.h" 6 #include "scene/gui/slider.h" 7 #include "scene/gui/tool_button.h" 8 #include "texture_frame.h" 18 virtual bool has_point(
const Point2& p_point)
const;
58 Color connecting_color;
59 bool connecting_target;
61 String connecting_target_to;
62 int connecting_target_index;
71 bool box_selection_mode_aditive;
74 Rect2 box_selecting_rect;
77 bool right_disconnects;
83 void _graph_node_raised(
Node* p_gn);
84 void _graph_node_moved(
Node *p_gn);
86 void _update_scroll();
87 void _scroll_moved(
double);
92 void _top_layer_draw();
93 void _update_scroll_offset();
95 Array _get_connection_list()
const;
98 bool _filter_input(
const Point2& p_point);
101 static void _bind_methods();
102 virtual void add_child_notify(
Node *p_child);
103 virtual void remove_child_notify(
Node *p_child);
104 void _notification(
int p_what);
105 virtual bool clips_input()
const;
108 Error connect_node(
const StringName& p_from,
int p_from_port,
const StringName& p_to,
int p_to_port);
109 bool is_node_connected(
const StringName& p_from,
int p_from_port,
const StringName& p_to,
int p_to_port);
110 void disconnect_node(
const StringName& p_from,
int p_from_port,
const StringName& p_to,
int p_to_port);
111 void clear_connections();
113 void set_zoom(
float p_zoom);
114 float get_zoom()
const;
119 void set_right_disconnects(
bool p_enable);
120 bool is_right_disconnects_enabled()
const;
122 Vector2 get_scroll_ofs()
const;
128 #endif // GRAPHEdit_H Definition: graph_edit.h:31
Definition: math_2d.h:204
Definition: string_db.h:48
Definition: graph_edit.h:26
Definition: graph_edit.h:12