aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-06-18 12:56:26 +0200
committerdec05eba <dec05eba@protonmail.com>2021-06-18 12:56:26 +0200
commit644c8b04f27827759a830738820143105c7e2536 (patch)
tree9f9d6934e1b6f659568cfeebe35086333a4b7745 /include/Body.hpp
parentc5558441044591c95072b958ed7804dd77254b27 (diff)
4chan, soundcloud: move selection to autoplay item
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 8fffcb0..841ba5a 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -203,6 +203,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 = false, bool ignore_columns = false);
void set_selected_item(int item, bool reset_prev_selected_item = true);
+ void set_selected_item(BodyItem *body_item);
void reset_prev_selected_item();
// Returns -1 if item can't be found