From 73b077835dc6085c2642451fa7dbde629b9eadfc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 9 Aug 2019 03:35:56 +0200 Subject: Readd video seek, make search asynchronous --- include/Body.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/Body.hpp') diff --git a/include/Body.hpp b/include/Body.hpp index 5d16898..a2db62a 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -20,6 +20,8 @@ namespace QuickMedia { bool visible; }; + using BodyItems = std::vector>; + class Body { public: Body(sf::Font &font); @@ -46,7 +48,7 @@ namespace QuickMedia { sf::Text title_text; sf::Text progress_text; int selected_item; - std::vector> items; + BodyItems items; std::thread thumbnail_load_thread; bool draw_thumbnails; private: -- cgit v1.2.3