diff options
Diffstat (limited to 'include/Body.hpp')
-rw-r--r-- | include/Body.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
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<std::unique_ptr<BodyItem>>; + 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<std::unique_ptr<BodyItem>> items; + BodyItems items; std::thread thumbnail_load_thread; bool draw_thumbnails; private: |