diff options
author | groud <gilles.roudiere@gmail.com> | 2018-09-12 13:10:49 +0200 |
---|---|---|
committer | groud <gilles.roudiere@gmail.com> | 2018-09-14 10:14:33 +0200 |
commit | b2633a97b9efa7b926d6682342480c5ccb482369 (patch) | |
tree | 048121a9e25fe54f41b26a5e913e79af2ac059e7 /editor/filesystem_dock.h | |
parent | 5f3bbbdc8152375f1f7f0770d56e1933a559ea20 (diff) | |
download | redot-engine-b2633a97b9efa7b926d6682342480c5ccb482369.tar.gz |
Add thumnails to the tree view
Diffstat (limited to 'editor/filesystem_dock.h')
-rw-r--r-- | editor/filesystem_dock.h | 4 |
1 files changed, 3 insertions, 1 deletions
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<Texture> &p_preview, const Variant &p_udata); + void _file_list_thumbnail_done(const String &p_path, const Ref<Texture> &p_preview, const Ref<Texture> &p_small_preview, const Variant &p_udata); + void _tree_thumbnail_done(const String &p_path, const Ref<Texture> &p_preview, const Ref<Texture> &p_small_preview, const Variant &p_udata); void _update_display_mode(); |