aboutsummaryrefslogtreecommitdiff
path: root/include/AsyncImageLoader.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-04-02 23:29:33 +0200
committerdec05eba <dec05eba@protonmail.com>2021-04-02 23:29:33 +0200
commit3ca7ed72c2f3a046e94213a8c26d80eafde9585c (patch)
tree67959bc624c4af5ad9d2e9ae805295097ca0a4ea /include/AsyncImageLoader.hpp
parent42ab6b1f7ad01cf87fa611b22313172a30eaff51 (diff)
FileManager: show video thumbnails, update thumbnail if name is the same but the content has changed (last modified time changed)
Diffstat (limited to 'include/AsyncImageLoader.hpp')
-rw-r--r--include/AsyncImageLoader.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/AsyncImageLoader.hpp b/include/AsyncImageLoader.hpp
index 0366415..69746d2 100644
--- a/include/AsyncImageLoader.hpp
+++ b/include/AsyncImageLoader.hpp
@@ -25,6 +25,7 @@ namespace QuickMedia {
sf::Clock texture_applied_time;
};
+ // This function is async
bool create_thumbnail(const Path &thumbnail_path, const Path &thumbnail_path_resized, sf::Vector2i resize_target_size);
constexpr int NUM_IMAGE_LOAD_THREADS = 4;