Added a list of signals to rename, this should become a header eventually

This commit is contained in:
Juan Linietsky 2017-01-12 00:54:21 -03:00
parent 83cb84753f
commit 5afaf84ae1
2 changed files with 22 additions and 1 deletions

View File

@ -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);

21
signal_renames.txt Normal file
View File

@ -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