diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Body.hpp | 5 | ||||
-rw-r--r-- | include/QuickMedia.hpp | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/Body.hpp b/include/Body.hpp index 86b6984..a3058a6 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -55,7 +55,7 @@ namespace QuickMedia { class Body { public: - Body(Program *program, sf::Font &font, sf::Font &bold_font); + Body(Program *program, sf::Font *font, sf::Font *bold_font); // Select previous item, ignoring invisible items void select_previous_item(); @@ -82,7 +82,8 @@ namespace QuickMedia { bool no_items_visible() const; - sf::Text title_text; + sf::Font *font; + sf::Font *bold_font; sf::Text progress_text; sf::Text author_text; sf::Text replies_text; diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index e4855f9..27863cc 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -99,6 +99,6 @@ namespace QuickMedia { bool use_system_mpv_config = false; // TODO: Save this to config file when switching modes ImageViewMode image_view_mode = ImageViewMode::SINGLE; - BodyItems related_media; + Body *related_media_body; }; }
\ No newline at end of file |