aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Body.hpp')
-rw-r--r--include/Body.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index 3d5c870..875ad61 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -101,7 +101,6 @@ namespace QuickMedia {
class Body {
public:
Body(Program *program, sf::Font *font, sf::Font *bold_font, sf::Font *cjk_font);
- ~Body();
// Select previous page, ignoring invisible items. Returns true if the item was changed. This can be used to check if the top was hit when wrap_around is set to false
bool select_previous_page();
@@ -126,6 +125,8 @@ namespace QuickMedia {
void append_items(BodyItems new_items);
void insert_item_by_timestamp(std::shared_ptr<BodyItem> body_item);
void insert_items_by_timestamps(BodyItems new_items);
+ void clear_cache();
+ void clear_text_cache();
void clear_thumbnails();
BodyItem* get_selected() const;
@@ -188,7 +189,6 @@ namespace QuickMedia {
sf::RectangleShape item_background_shadow;
sf::RoundedRectangleShape item_background;
sf::Sprite image;
- std::future<void> load_thumbnail_future;
int num_visible_items;
bool last_item_fully_visible;
int last_fully_visible_item;