aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index de7d940..6977922 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -187,10 +187,10 @@ namespace QuickMedia {
bool select_next_page();
// Select previous item, ignoring invisible items. Returns true if the item was changed or if the item scrolled. This can be used to check if the top was hit when wrap_around is set to false
- bool select_previous_item(bool scroll_page_if_large_item = true, bool reset_select_scroll = true);
+ bool select_previous_item(bool scroll_page_if_large_item = true);
// Select next item, ignoring invisible items. Returns true if the item was changed or if the item scrolled. This can be used to check if the bottom was hit when wrap_around is set to false
- bool select_next_item(bool scroll_page_if_large_item = true, bool reset_select_scroll = true);
+ bool select_next_item(bool scroll_page_if_large_item = true);
void set_selected_item(int item, bool reset_prev_selected_item = true);
void reset_prev_selected_item();
@@ -336,7 +336,6 @@ namespace QuickMedia {
sf::Vector2f body_pos;
sf::Vector2f body_size;
float selected_item_height = 0.0f;
- float selected_scrolled = 0.0f;
std::shared_ptr<BodyItem> clicked_body_item = nullptr;
RoundedRectangle item_background;
RoundedRectangle reaction_background;