From d638a6092bd6291c983490ba3f966162c7ca06c2 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 31 Oct 2020 09:46:32 +0100 Subject: Load fonts on demand --- include/ImageViewer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ImageViewer.hpp') diff --git a/include/ImageViewer.hpp b/include/ImageViewer.hpp index ea53558..f886709 100644 --- a/include/ImageViewer.hpp +++ b/include/ImageViewer.hpp @@ -46,7 +46,7 @@ namespace QuickMedia { class ImageViewer { public: - ImageViewer(MangaImagesPage *manga_images_page, const std::string &content_title, const std::string &chapter_title, int current_page, const Path &chapter_cache_dir, sf::Font *font); + ImageViewer(MangaImagesPage *manga_images_page, const std::string &content_title, const std::string &chapter_title, int current_page, const Path &chapter_cache_dir); ~ImageViewer(); ImageViewerAction draw(sf::RenderWindow &window); // Returns page as 1 indexed -- cgit v1.2.3