aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Body.hpp')
-rw-r--r--include/Body.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index 9cdcd7b..1dc1fe8 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -147,14 +147,13 @@ namespace QuickMedia {
// Select next item, ignoring invisible items. Returns true if the item was changed. This can be used to check if the bottom was hit when wrap_around is set to false
bool select_next_item();
- void set_selected_item(int item);
+ void set_selected_item(int item, bool reset_prev_selected_item = true);
// Returns -1 if item can't be found
int get_index_by_body_item(BodyItem *body_item);
void select_first_item();
void select_last_item();
- void reset_selected();
void clear_items();
void prepend_items(BodyItems new_items);
void append_items(BodyItems new_items);