aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-26 08:18:00 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-26 08:18:00 +0200
commitc3bc6fbd7f4fffff90b40f813418b0dbd030bbd2 (patch)
tree4ee4b493f94e662c3590cbd77b2fc88d137b240c /include
parent1026360c595818eabe75813bcd02258c4d0dddc7 (diff)
cleanup
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;