diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-09-22 20:10:48 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-09-22 20:10:48 +0200 |
commit | fdeb82815db468ac7e99e9646f57bed2bf1832de (patch) | |
tree | ffc1ca95e05f47e26c21cce29f5510275e01787e /include/Body.hpp | |
parent | 7934864d58ec39b237e2b45d0180aa567b29b944 (diff) |
Sort anilist recommendations by best match, show episode duration, show titles differently
Diffstat (limited to 'include/Body.hpp')
-rw-r--r-- | include/Body.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 |