소스 검색

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

Juan Linietsky 8 년 전
부모
커밋
5afaf84ae1
2개의 변경된 파일22개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scene/gui/graph_edit.cpp
  2. 21 0
      signal_renames.txt

+ 1 - 1
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);

+ 21 - 0
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