aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index a485aac..35928cb 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -76,12 +76,12 @@ namespace QuickMedia {
bool draw_thumbnails;
private:
struct ThumbnailData {
- std::string url;
+ bool referenced;
std::shared_ptr<sf::Texture> texture;
};
Program *program;
std::shared_ptr<sf::Texture> load_thumbnail_from_url(const std::string &url);
- std::vector<ThumbnailData> item_thumbnail_textures;
+ std::unordered_map<std::string, ThumbnailData> item_thumbnail_textures;
bool loading_thumbnail;
};
} \ No newline at end of file