diff options
Diffstat (limited to 'include/Body.hpp')
-rw-r--r-- | include/Body.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Body.hpp b/include/Body.hpp index 236a02d..43e2946 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -174,7 +174,7 @@ namespace QuickMedia { BodyItem* get_selected() const; std::shared_ptr<BodyItem> get_selected_shared(); - // Returns null if not visible item + // Returns null if no visible items. This is the item we can see the end of BodyItem* get_last_fully_visible_item(); void clamp_selection(); @@ -205,6 +205,7 @@ namespace QuickMedia { void set_page_scroll(float scroll) { page_scroll = scroll; } float get_page_scroll() const { return page_scroll; } + // This is the item we can see the end of bool is_last_item_fully_visible() const { return last_item_fully_visible; } bool is_body_full_with_items() const { return items_cut_off; } |