From 644c8b04f27827759a830738820143105c7e2536 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 18 Jun 2021 12:56:26 +0200 Subject: 4chan, soundcloud: move selection to autoplay item --- include/Body.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include/Body.hpp') 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 -- cgit v1.2.3