From fdeb82815db468ac7e99e9646f57bed2bf1832de Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 22 Sep 2021 20:10:48 +0200 Subject: Sort anilist recommendations by best match, show episode duration, show titles differently --- include/Body.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/Body.hpp') diff --git a/include/Body.hpp b/include/Body.hpp index 91913b5..4126697 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -117,8 +117,6 @@ namespace QuickMedia { // TODO: Highlight the part of the text that matches the search. void filter_search_fuzzy(const std::string &text); - bool no_items_visible() const; - int get_selected_item() const { return selected_item; } bool is_selected_item_last_visible_item() const; @@ -162,6 +160,7 @@ namespace QuickMedia { void update_dirty_state(BodyItem *body_item, float width); void clear_body_item_cache(BodyItem *body_item); sf::Vector2i get_item_thumbnail_size(BodyItem *item) const; + // Returns -1 if not found int get_previous_visible_item(int start_index); // Returns -1 if not found -- cgit v1.2.3