aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-17 02:10:10 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-17 15:25:26 +0200
commitd83c0123ed3e51ef1e8d6a164e87343dd5335331 (patch)
tree7a3251eeb25a11e21204974fc2744f347367e0da /include
parent95baa4316c127d65c46d2226dbeeae690340c4d6 (diff)
Show error message on failure to load image for same page
Show title of manga when viewing pages
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;