summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-01-25 11:02:26 +0100
committerRémi Verschelde <remi@verschelde.fr>2016-01-25 11:02:26 +0100
commit87517c564b83218871ac53afdad375a9501e6cb8 (patch)
tree80db2a1d2fc7f8bb8140259dc9b2804ee4995533 /tools
parent6eb616087de939104a9c988856edb4450777c339 (diff)
parentdd197cd6d3348dbe1b0f9a8190b10ec6c545df68 (diff)
Merge pull request #3436 from neikeq/rm_dbg_x
Removed debugger X (hide) button
Diffstat (limited to 'tools')
-rw-r--r--tools/editor/script_editor_debugger.cpp18
-rw-r--r--tools/editor/script_editor_debugger.h4
2 files changed, 0 insertions, 22 deletions
diff --git a/tools/editor/script_editor_debugger.cpp b/tools/editor/script_editor_debugger.cpp
index 773f4c7eea..fed5ab1a16 100644
--- a/tools/editor/script_editor_debugger.cpp
+++ b/tools/editor/script_editor_debugger.cpp
@@ -540,9 +540,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");
@@ -783,13 +780,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();
@@ -1190,7 +1180,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);
@@ -1226,13 +1215,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");
diff --git a/tools/editor/script_editor_debugger.h b/tools/editor/script_editor_debugger.h
index 0be311a990..ecd0494955 100644
--- a/tools/editor/script_editor_debugger.h
+++ b/tools/editor/script_editor_debugger.h
@@ -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);