diff options
author | Stijn Hinlopen <f.a.hinlopen@gmail.com> | 2023-12-02 21:33:38 +0100 |
---|---|---|
committer | Stijn Hinlopen <f.a.hinlopen@gmail.com> | 2024-10-01 21:39:16 +0200 |
commit | 06791e1acd2bd19395c9b80c9646ece095262936 (patch) | |
tree | 339cc5059e871f33c90af37aec685ba58ba98198 /editor/gui/editor_run_bar.h | |
parent | f4af8201bac157b9d47e336203d3e8a8ef729de2 (diff) | |
download | redot-engine-06791e1acd2bd19395c9b80c9646ece095262936.tar.gz |
New Quick Open Dialog
- Updated list view with thumbnails, and separate file name.
- Added a grid view which has larger icons.
- Added toggle to filter out files from addons.
- Store history for each opened resource type.
New Editor settings for Quick Open:
- Startup display mode (grid or list):
- Determined by the requested resource type.
- Whatever was last used.
- Toggle to filter out files from addons (for persistence).
Notes
- The dialog is now created once in EditorNode, and globally available for other components.
- A fixed number of result scenes are instantiated, and reused based on query.
- Drop support for multiselect.
Diffstat (limited to 'editor/gui/editor_run_bar.h')
-rw-r--r-- | editor/gui/editor_run_bar.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/editor/gui/editor_run_bar.h b/editor/gui/editor_run_bar.h index 1cb999612a..d8238aa2c5 100644 --- a/editor/gui/editor_run_bar.h +++ b/editor/gui/editor_run_bar.h @@ -37,7 +37,6 @@ class Button; class EditorRunNative; -class EditorQuickOpen; class PanelContainer; class HBoxContainer; @@ -68,8 +67,6 @@ class EditorRunBar : public MarginContainer { PanelContainer *write_movie_panel = nullptr; Button *write_movie_button = nullptr; - EditorQuickOpen *quick_run = nullptr; - RunMode current_mode = RunMode::STOPPED; String run_custom_filename; String run_current_filename; @@ -78,7 +75,7 @@ class EditorRunBar : public MarginContainer { void _update_play_buttons(); void _write_movie_toggled(bool p_enabled); - void _quick_run_selected(); + void _quick_run_selected(const String &p_file_path); void _play_current_pressed(); void _play_custom_pressed(); |