summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-12 00:54:21 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-12 00:54:21 -0300
commit5afaf84ae1406fd8d03887740c3d4a38fa5e2a29 (patch)
tree48fbd144b01c20c9ac6971dae0293906eb446d8c
parent83cb84753fb17d0c3e4dbe15388279ee93f97e3e (diff)
Added a list of signals to rename, this should become a header eventually
-rw-r--r--scene/gui/graph_edit.cpp2
-rw-r--r--signal_renames.txt21
2 files changed, 22 insertions, 1 deletions
diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp
index 4d72bbbd0d..b919f0649d 100644
--- a/scene/gui/graph_edit.cpp
+++ b/scene/gui/graph_edit.cpp
@@ -1265,7 +1265,7 @@ GraphEdit::GraphEdit() {
top_layer->set_area_as_parent_rect();
top_layer->connect("draw",this,"_top_layer_draw");
top_layer->set_mouse_filter(MOUSE_FILTER_PASS);
- top_layer->connect("input_event",this,"_top_layer_input");
+ top_layer->connect("gui_input",this,"_top_layer_input");
connections_layer = memnew( Control );
add_child(connections_layer);
diff --git a/signal_renames.txt b/signal_renames.txt
new file mode 100644
index 0000000000..859985cb11
--- /dev/null
+++ b/signal_renames.txt
@@ -0,0 +1,21 @@
+area_enter = area_entered
+area_exit = area_exited
+
+area_enter_shape = area_shape_entered
+area_exit_shape = area_shape_exited
+
+body_enter = body_entered
+body_exit = body_exited
+
+body_enter_shape = body_shape_entered
+body_exit_shape = body_shape_exited
+
+mouse_enter = mouse_entered
+mouse_exit = mouse_exited
+focus_enter = focus_entered
+focus_exit = focus_exited
+
+modal_close = modal_closed
+
+enter_tree = tree_entered
+exit_tree = tree_exited \ No newline at end of file