aboutsummaryrefslogtreecommitdiff
path: root/include/ImageViewer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ImageViewer.hpp')
-rw-r--r--include/ImageViewer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ImageViewer.hpp b/include/ImageViewer.hpp
index b8063ee..2cf3ac2 100644
--- a/include/ImageViewer.hpp
+++ b/include/ImageViewer.hpp
@@ -15,7 +15,7 @@ namespace sf {
}
namespace QuickMedia {
- class Manga;
+ class MangaImagesPage;
enum class ImageStatus {
WAITING,
@@ -46,7 +46,7 @@ namespace QuickMedia {
class ImageViewer {
public:
- 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);
+ 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);
ImageViewerAction draw(sf::RenderWindow &window);
// Returns page as 1 indexed
int get_focused_page() const;