aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-26 07:02:50 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-26 07:53:37 +0200
commit511716ea4e7c9034fbc38f208db5041107f76ee7 (patch)
tree2ca1bd5c35f8038ba17e634c7f5d7e36422b9b71 /include
parent22aa3cb4f4722e9f73f5a4c8bba82e304e5a9205 (diff)
Fix page scroll when navigating 4chan replies
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index 2f1644d..008aa70 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -114,6 +114,9 @@ namespace QuickMedia {
int get_selected_item() const { return selected_item; }
+ void set_page_scroll(float scroll) { page_scroll = scroll; }
+ float get_page_scroll() const { return page_scroll; }
+
sf::Font *font;
sf::Font *bold_font;
sf::Font *cjk_font;