mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Removed debugger X (hide) button
This commit is contained in:
		
							parent
							
								
									dfbc2dce17
								
							
						
					
					
						commit
						dd197cd6d3
					
				
					 2 changed files with 0 additions and 22 deletions
				
			
		|  | @ -536,9 +536,6 @@ void ScriptEditorDebugger::_notification(int p_what) { | |||
| 			forward->set_icon( get_icon("Forward","EditorIcons")); | ||||
| 			dobreak->set_icon( get_icon("Pause","EditorIcons")); | ||||
| 			docontinue->set_icon( get_icon("DebugContinue","EditorIcons")); | ||||
| 			tb->set_normal_texture( get_icon("Close","EditorIcons")); | ||||
| 			tb->set_hover_texture( get_icon("CloseHover","EditorIcons")); | ||||
| 			tb->set_pressed_texture( get_icon("Close","EditorIcons")); | ||||
| 			scene_tree_refresh->set_icon( get_icon("Reload","EditorIcons")); | ||||
| 			le_set->connect("pressed",this,"_live_edit_set"); | ||||
| 			le_clear->connect("pressed",this,"_live_edit_clear"); | ||||
|  | @ -779,13 +776,6 @@ void ScriptEditorDebugger::_stack_dump_frame_selected() { | |||
| 
 | ||||
| } | ||||
| 
 | ||||
| void ScriptEditorDebugger::_hide_request() { | ||||
| 
 | ||||
| 	if (EditorNode::get_log()->is_visible()) | ||||
| 		EditorNode::get_singleton()->hide_bottom_panel(); | ||||
| 	emit_signal("show_debugger",false); | ||||
| } | ||||
| 
 | ||||
| void ScriptEditorDebugger::_output_clear() { | ||||
| 
 | ||||
| 	//output->clear();
 | ||||
|  | @ -1186,7 +1176,6 @@ void ScriptEditorDebugger::_bind_methods() { | |||
| 	ObjectTypeDB::bind_method(_MD("debug_break"),&ScriptEditorDebugger::debug_break); | ||||
| 	ObjectTypeDB::bind_method(_MD("debug_continue"),&ScriptEditorDebugger::debug_continue); | ||||
| 	ObjectTypeDB::bind_method(_MD("_output_clear"),&ScriptEditorDebugger::_output_clear); | ||||
| 	ObjectTypeDB::bind_method(_MD("_hide_request"),&ScriptEditorDebugger::_hide_request); | ||||
| 	ObjectTypeDB::bind_method(_MD("_performance_draw"),&ScriptEditorDebugger::_performance_draw); | ||||
| 	ObjectTypeDB::bind_method(_MD("_performance_select"),&ScriptEditorDebugger::_performance_select); | ||||
| 	ObjectTypeDB::bind_method(_MD("_scene_tree_request"),&ScriptEditorDebugger::_scene_tree_request); | ||||
|  | @ -1222,13 +1211,6 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor){ | |||
| 	tabs->set_area_as_parent_rect(); | ||||
| 	add_child(tabs); | ||||
| 
 | ||||
| 	tb = memnew( TextureButton ); | ||||
| 	tb->connect("pressed",this,"_hide_request"); | ||||
| 	tb->set_anchor_and_margin(MARGIN_LEFT,ANCHOR_END,20); | ||||
| 	tb->set_margin(MARGIN_TOP,2); | ||||
| 	add_child(tb); | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 	VBoxContainer *vbc = memnew( VBoxContainer ); | ||||
| 	vbc->set_name("Debugger"); | ||||
|  |  | |||
|  | @ -76,9 +76,6 @@ class ScriptEditorDebugger : public Control { | |||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 	TextureButton *tb; | ||||
| 
 | ||||
| 
 | ||||
| 	TabContainer *tabs; | ||||
| 
 | ||||
| 	LineEdit *reason; | ||||
|  | @ -129,7 +126,6 @@ class ScriptEditorDebugger : public Control { | |||
| 	void _performance_select(Object *, int, bool); | ||||
| 	void _stack_dump_frame_selected(); | ||||
| 	void _output_clear(); | ||||
| 	void _hide_request(); | ||||
| 
 | ||||
| 	void _scene_tree_request(); | ||||
| 	void _parse_message(const String& p_msg,const Array& p_data); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ignacio Etcheverry
						Ignacio Etcheverry