diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-09-28 01:54:57 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-09-28 01:54:57 +0200 |
commit | a16cfdc4f6cd14d576760c100a817c08f45be394 (patch) | |
tree | 8c076be0b309224e493b2b788f6e8f7f23e1ab80 /include | |
parent | b9c5c06d53f5b3927e125ec46e3d1d7efcae6f12 (diff) |
Matrix: add red line at bottom of chat if we are not at the bottom
Diffstat (limited to 'include')
-rw-r--r-- | include/Body.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<void> load_thumbnail_future; int num_visible_items; + bool last_item_fully_visible; }; }
\ No newline at end of file |