From c3bc6fbd7f4fffff90b40f813418b0dbd030bbd2 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 26 May 2021 08:18:00 +0200 Subject: cleanup --- include/Body.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/Body.hpp') 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 clicked_body_item = nullptr; RoundedRectangle item_background; RoundedRectangle reaction_background; -- cgit v1.2.3