From b2633a97b9efa7b926d6682342480c5ccb482369 Mon Sep 17 00:00:00 2001 From: groud Date: Wed, 12 Sep 2018 13:10:49 +0200 Subject: Add thumnails to the tree view --- editor/filesystem_dock.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'editor/filesystem_dock.h') diff --git a/editor/filesystem_dock.h b/editor/filesystem_dock.h index 40e3f60136..34a2666ecb 100644 --- a/editor/filesystem_dock.h +++ b/editor/filesystem_dock.h @@ -164,6 +164,7 @@ private: bool initialized; bool updating_tree; + int tree_update_id; Tree *tree; //directories ItemList *files; bool import_dock_needs_update; @@ -250,7 +251,8 @@ private: String _get_drag_target_folder(const Point2 &p_point, Control *p_from) const; void _preview_invalidated(const String &p_path); - void _thumbnail_done(const String &p_path, const Ref &p_preview, const Variant &p_udata); + void _file_list_thumbnail_done(const String &p_path, const Ref &p_preview, const Ref &p_small_preview, const Variant &p_udata); + void _tree_thumbnail_done(const String &p_path, const Ref &p_preview, const Ref &p_small_preview, const Variant &p_udata); void _update_display_mode(); -- cgit v1.2.3