diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-10-31 09:46:32 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-10-31 09:46:32 +0100 |
commit | d638a6092bd6291c983490ba3f966162c7ca06c2 (patch) | |
tree | 45b9421e0f3dd22265b33be8ecdcd974e12b0346 /include/Body.hpp | |
parent | 11f644afe434ce6b6d570c9da2a95590321871b3 (diff) |
Load fonts on demand
Diffstat (limited to 'include/Body.hpp')
-rw-r--r-- | include/Body.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/Body.hpp b/include/Body.hpp index 1dc1fe8..1a82443 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -135,7 +135,7 @@ namespace QuickMedia { class Body { public: - Body(Program *program, sf::Font *font, sf::Font *bold_font, sf::Font *cjk_font, sf::Texture &loading_icon_texture); + Body(Program *program, sf::Texture &loading_icon_texture); // Select previous page, ignoring invisible items. Returns true if the item was changed. This can be used to check if the top was hit when wrap_around is set to false bool select_previous_page(); @@ -199,9 +199,6 @@ namespace QuickMedia { 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; - sf::Font *cjk_font; sf::Text progress_text; sf::Text replies_text; sf::Text embedded_item_load_text; |