aboutsummaryrefslogtreecommitdiff
path: root/editor/script_editor_debugger.h
diff options
context:
space:
mode:
authorRémi Verschelde2018-01-03 10:26:55 +0100
committerGitHub2018-01-03 10:26:55 +0100
commit6cd33f17f7aa25ca019f1c2496f68e191b348582 (patch)
tree0e3a380d7b506853827ae974a008dc0e0e7e7e21 /editor/script_editor_debugger.h
parent6d812ad27f1578efbfe70b0234a05afd3e4728c9 (diff)
parentea14b0789b8442a930a4464e7e17a3473e2e221d (diff)
downloadgodot-6cd33f17f7aa25ca019f1c2496f68e191b348582.tar.gz
godot-6cd33f17f7aa25ca019f1c2496f68e191b348582.tar.zst
godot-6cd33f17f7aa25ca019f1c2496f68e191b348582.zip
Diffstat (limited to 'editor/script_editor_debugger.h')
-rw-r--r--editor/script_editor_debugger.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/editor/script_editor_debugger.h b/editor/script_editor_debugger.h
index e380a56b1..7f8348d82 100644
--- a/editor/script_editor_debugger.h
+++ b/editor/script_editor_debugger.h
@@ -62,6 +62,10 @@ class ScriptEditorDebugger : public Control {
MESSAGE_SUCCESS,
};
+ enum ItemMenu {
+ ITEM_MENU_COPY_ERROR,
+ };
+
AcceptDialog *msgdialog;
Button *debugger_button;
@@ -85,6 +89,8 @@ class ScriptEditorDebugger : public Control {
ItemList *error_list;
ItemList *error_stack;
Tree *inspect_scene_tree;
+ Button *clearbutton;
+ PopupMenu *item_menu;
int error_count;
int last_error_count;
@@ -175,6 +181,10 @@ class ScriptEditorDebugger : public Control {
void _set_remote_object(ObjectID p_id, ScriptEditorDebuggerInspectedObject *p_obj);
void _clear_remote_objects();
+ void _clear_errors_list();
+
+ void _error_list_item_rmb_selected(int p_item, const Vector2 &p_pos);
+ void _item_menu_id_pressed(int p_option);
protected:
void _notification(int p_what);