diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Body.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/Body.hpp b/include/Body.hpp index 525cee5..fb3f20e 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -236,8 +236,8 @@ namespace QuickMedia { 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; } + bool is_body_full_with_items() const { return body_full; } + int get_num_visible_items() const { return num_visible_items; }; sf::Text progress_text; sf::Text replies_text; @@ -275,7 +275,9 @@ namespace QuickMedia { double elapsed_time_sec = 0.0; bool selected_line_top_visible = true; bool selected_line_bottom_visible = true; - bool items_cut_off = false; + bool top_cut_off = false; + bool bottom_cut_off = false; + bool body_full = false; float offset_to_top = 0.0f; float offset_to_bottom = 0.0f; }; |