aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-02-09 15:29:29 +0100
committerdec05eba <dec05eba@protonmail.com>2021-02-09 15:29:29 +0100
commit2e22afbaa5c01d9aa40564a7646092455ce0d88c (patch)
treee27dbad9eacc7732b1fad1dd44f075144da332b9 /include/Body.hpp
parentbc7ef0c3fab69c4ef47aa8f50da9f5818d00bc88 (diff)
Matrix: put an end to my unread messages misery
Diffstat (limited to 'include/Body.hpp')
-rw-r--r--include/Body.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index 676eef8..1664696 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -186,6 +186,7 @@ namespace QuickMedia {
// 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);
void set_selected_item(int item, bool reset_prev_selected_item = true);
+ void reset_prev_selected_item();
// Returns -1 if item can't be found
int get_index_by_body_item(BodyItem *body_item);