aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-14 16:40:49 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-14 17:00:06 +0200
commit9dfef8c22987c12a6aad47a8913e60943d8578e7 (patch)
tree5d167931ec4496d9509c03679516803b5c570315 /include/Body.hpp
parentacb6ac0a04e800a79876908fd1fdb98dc7e93678 (diff)
Move thumbnail loading/unloading to AsyncImageLoader
Diffstat (limited to 'include/Body.hpp')
-rw-r--r--include/Body.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index 48eb45f..b5ca210 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -206,7 +206,6 @@ namespace QuickMedia {
void insert_items_by_timestamps(BodyItems new_items);
void clear_cache();
void clear_text_cache();
- void clear_thumbnails();
BodyItem* get_selected() const;
std::shared_ptr<BodyItem> get_selected_shared();
@@ -278,7 +277,6 @@ namespace QuickMedia {
float get_offset_to_last_visible_item(sf::Vector2f body_size);
private:
Program *program;
- std::unordered_map<std::string, std::shared_ptr<ThumbnailData>> item_thumbnail_textures;
int selected_item;
int prev_selected_item;
double page_scroll;
@@ -316,7 +314,6 @@ namespace QuickMedia {
sf::Vector2f body_size;
float selected_item_height = 0.0f;
float selected_scrolled = 0.0f;
- bool loaded_textures_changed = false;
std::shared_ptr<BodyItem> clicked_body_item = nullptr;
RoundedRectangle item_background;
RoundedRectangle reaction_background;