From a16cfdc4f6cd14d576760c100a817c08f45be394 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 28 Sep 2020 01:54:57 +0200 Subject: Matrix: add red line at bottom of chat if we are not at the bottom --- include/Body.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/Body.hpp') diff --git a/include/Body.hpp b/include/Body.hpp index 4887582..35b3f30 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -124,6 +124,7 @@ namespace QuickMedia { void set_page_scroll(float scroll) { page_scroll = scroll; } float get_page_scroll() const { return page_scroll; } + bool is_last_item_fully_visible() const { return last_item_fully_visible; } sf::Font *font; sf::Font *bold_font; @@ -168,5 +169,6 @@ namespace QuickMedia { sf::Sprite image; std::future load_thumbnail_future; int num_visible_items; + bool last_item_fully_visible; }; } \ No newline at end of file -- cgit v1.2.3