aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ImageViewer.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ImageViewer.hpp b/include/ImageViewer.hpp
index 18faa9c..7fe4921 100644
--- a/include/ImageViewer.hpp
+++ b/include/ImageViewer.hpp
@@ -33,7 +33,7 @@ namespace QuickMedia {
class ImageViewer {
public:
- ImageViewer(Manga *manga, const std::string &images_url, const std::string &chapter_title, int current_page, const Path &chapter_cache_dir, sf::Font *font);
+ ImageViewer(Manga *manga, const std::string &images_url, const std::string &content_title, const std::string &chapter_title, int current_page, const Path &chapter_cache_dir, sf::Font *font);
ImageViewerAction draw(sf::RenderWindow &window);
// Returns page as 1 indexed
int get_focused_page() const;
@@ -46,6 +46,7 @@ namespace QuickMedia {
int num_pages;
int page_center;
+ std::string content_title;
std::string chapter_title;
Path chapter_cache_dir;