summaryrefslogtreecommitdiff
path: root/tools/editor/script_editor_debugger.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/script_editor_debugger.h')
-rw-r--r--tools/editor/script_editor_debugger.h28
1 files changed, 24 insertions, 4 deletions
diff --git a/tools/editor/script_editor_debugger.h b/tools/editor/script_editor_debugger.h
index 1288349884..128ca16173 100644
--- a/tools/editor/script_editor_debugger.h
+++ b/tools/editor/script_editor_debugger.h
@@ -33,7 +33,7 @@
#include "scene/gui/button.h"
#include "core/io/tcp_server.h"
#include "core/io/packet_peer.h"
-
+#include "property_editor.h"
class Tree;
class PropertyEditor;
@@ -49,6 +49,10 @@ class HSplitContainer;
class ItemList;
class EditorProfiler;
+
+
+class ScriptEditorDebuggerInspectedObject;
+
class ScriptEditorDebugger : public Control {
OBJ_TYPE( ScriptEditorDebugger, Control );
@@ -61,12 +65,23 @@ class ScriptEditorDebugger : public Control {
LineEdit *clicked_ctrl;
LineEdit *clicked_ctrl_type;
LineEdit *live_edit_root;
- Tree *scene_tree;
- HSplitContainer *info;
- Button *scene_tree_refresh;
Button *le_set;
Button *le_clear;
+
+
+ Tree *inspect_scene_tree;
+ HSplitContainer *inspect_info;
+ PropertyEditor *inspect_properties;
+ float inspect_scene_tree_timeout;
+ float inspect_edited_object_timeout;
+ ObjectID inspected_object_id;
+ ScriptEditorDebuggerInspectedObject *inspected_object;
+ bool updating_scene_tree;
+ Set<ObjectID> unfold_cache;
+
+
+
HSplitContainer *error_split;
ItemList *error_list;
ItemList *error_stack;
@@ -132,8 +147,13 @@ class ScriptEditorDebugger : public Control {
void _stack_dump_frame_selected();
void _output_clear();
+
+ void _scene_tree_folded(Object* obj);
+ void _scene_tree_selected();
void _scene_tree_request();
void _parse_message(const String& p_msg,const Array& p_data);
+ void _scene_tree_property_select_object(ObjectID p_object);
+ void _scene_tree_property_value_edited(const String& p_prop,const Variant& p_value);
void _video_mem_request();