From c9c2621accb68634685a14703491cacdd7ed2bb1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 8 Aug 2019 07:26:04 +0200 Subject: Retain fullscreen video when changing to next video --- include/Body.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/Body.hpp') diff --git a/include/Body.hpp b/include/Body.hpp index 65aae8d..5d16898 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -47,11 +47,15 @@ namespace QuickMedia { sf::Text progress_text; int selected_item; std::vector> items; - std::vector> item_thumbnail_textures; std::thread thumbnail_load_thread; bool draw_thumbnails; private: + struct ThumbnailData { + std::string url; + std::shared_ptr texture; + }; std::shared_ptr load_thumbnail_from_url(const std::string &url); + std::vector item_thumbnail_textures; bool loading_thumbnail; }; } \ No newline at end of file -- cgit v1.2.3