diff options
Diffstat (limited to 'editor/project_manager.h')
-rw-r--r-- | editor/project_manager.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/editor/project_manager.h b/editor/project_manager.h index f99e879664..d3cd929eb7 100644 --- a/editor/project_manager.h +++ b/editor/project_manager.h @@ -50,6 +50,9 @@ enum FilterOption { class ProjectManager : public Control { GDCLASS(ProjectManager, Control); + static Map<String, Ref<Texture2D>> icon_type_cache; + static void _build_icon_type_cache(Ref<Theme> p_theme); + TabContainer *tabs; ProjectList *_project_list; @@ -67,7 +70,7 @@ class ProjectManager : public Control { EditorAssetLibrary *asset_library; - FileDialog *scan_dir; + EditorFileDialog *scan_dir; ConfirmationDialog *language_restart_ask; ConfirmationDialog *erase_ask; @@ -129,6 +132,8 @@ class ProjectManager : public Control { void _on_tab_changed(int p_tab); void _on_search_term_changed(const String &p_term); + static Ref<Texture2D> _file_dialog_get_icon(const String &p_path); + protected: void _notification(int p_what); static void _bind_methods(); |