aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index cc11664..eb74837 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -178,6 +178,7 @@ namespace QuickMedia {
class Body {
public:
Body(Program *program, sf::Texture &loading_icon_texture);
+ ~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();
@@ -309,6 +310,7 @@ namespace QuickMedia {
sf::Vector2f body_size;
float selected_item_height = 0.0f;
float selected_scrolled = 0.0f;
+ bool loaded_textures_changed = false;
//float scroll_y = 0.0f;
};
} \ No newline at end of file