aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/script_editor_plugin.h
diff options
context:
space:
mode:
authorPaulb232017-05-28 15:20:38 +0100
committerPaulb232017-05-29 12:56:33 +0100
commita4e222ae7106ec56db88f5a64bb72b5e4ba1e792 (patch)
treebad0a977b3abecb8caac4f3931c40deb62c8f4c9 /editor/plugins/script_editor_plugin.h
parentef66f8451ca7b5b98628924231a92e558930c53e (diff)
downloadgodot-a4e222ae7106ec56db88f5a64bb72b5e4ba1e792.tar.gz
godot-a4e222ae7106ec56db88f5a64bb72b5e4ba1e792.tar.zst
godot-a4e222ae7106ec56db88f5a64bb72b5e4ba1e792.zip
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
-rw-r--r--editor/plugins/script_editor_plugin.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h
index fb2f10827..657f63cdc 100644
--- a/editor/plugins/script_editor_plugin.h
+++ b/editor/plugins/script_editor_plugin.h
@@ -102,6 +102,8 @@ public:
virtual void set_debugger_active(bool p_active) = 0;
virtual bool can_lose_focus_on_node_selection() { return true; }
+ virtual bool show_members_overview() = 0;
+
virtual void set_tooltip_request_func(String p_method, Object *p_obj) = 0;
virtual Control *get_edit_menu() = 0;
@@ -179,6 +181,9 @@ class ScriptEditor : public VBoxContainer {
ItemList *script_list;
HSplitContainer *script_split;
+ ItemList *members_overview;
+ bool members_overview_enabled;
+ VSplitContainer *list_split;
TabContainer *tab_container;
EditorFileDialog *file_dialog;
ConfirmationDialog *erase_tab_confirm;
@@ -278,8 +283,11 @@ class ScriptEditor : public VBoxContainer {
void _editor_settings_changed();
void _autosave_scripts();
+ void _update_members_overview_visibility();
+ void _update_members_overview();
void _update_script_names();
+ void _members_overview_selected(int p_idx);
void _script_selected(int p_idx);
void _find_scripts(Node *p_base, Node *p_current, Set<Ref<Script> > &used);