diff options
| author | Ian | 2017-11-11 21:42:56 -0500 |
|---|---|---|
| committer | Ian | 2017-11-12 15:45:42 -0500 |
| commit | 9126a2072c728fcde7b09e083ae979c1c678e8ea (patch) | |
| tree | 1ca71f3b0c4a1969267c198f4e7b29aa62d3beca /editor/plugins/script_editor_plugin.h | |
| parent | 798a14eb339a06abcfdd3571e854b892e4182e9b (diff) | |
| download | godot-9126a2072c728fcde7b09e083ae979c1c678e8ea.tar.gz godot-9126a2072c728fcde7b09e083ae979c1c678e8ea.tar.zst godot-9126a2072c728fcde7b09e083ae979c1c678e8ea.zip | |
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
| -rw-r--r-- | editor/plugins/script_editor_plugin.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h index 3912fa372..b8317f9e8 100644 --- a/editor/plugins/script_editor_plugin.h +++ b/editor/plugins/script_editor_plugin.h @@ -150,10 +150,11 @@ class ScriptEditor : public PanelContainer { SEARCH_WEBSITE, HELP_SEARCH_FIND, HELP_SEARCH_FIND_NEXT, - WINDOW_MOVE_LEFT, - WINDOW_MOVE_RIGHT, + WINDOW_MOVE_UP, + WINDOW_MOVE_DOWN, WINDOW_NEXT, WINDOW_PREV, + WINDOW_SORT, WINDOW_SELECT_BASE = 100 }; @@ -293,6 +294,7 @@ class ScriptEditor : public PanelContainer { void _update_members_overview_visibility(); void _update_members_overview(); void _update_script_names(); + bool _sort_list_on_update; void _members_overview_selected(int p_idx); void _script_selected(int p_idx); @@ -307,6 +309,10 @@ class ScriptEditor : public PanelContainer { void _script_split_dragged(float); + Variant get_drag_data_fw(const Point2 &p_point, Control *p_from); + bool can_drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from) const; + void drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from); + void _unhandled_input(const Ref<InputEvent> &p_event); void _script_list_gui_input(const Ref<InputEvent> &ev); |
