From 0fda98b233ae0f44b1f0a8691958087619b243e1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 12 Oct 2019 08:10:32 +0200 Subject: Start on 4chan, go to previous/next chapter when reaching beginning/end --- include/Page.hpp | 4 +++- include/QuickMedia.hpp | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/Page.hpp b/include/Page.hpp index 7b1fc17..b159877 100644 --- a/include/Page.hpp +++ b/include/Page.hpp @@ -7,6 +7,8 @@ namespace QuickMedia { SEARCH_RESULT, VIDEO_CONTENT, EPISODE_LIST, - IMAGES + IMAGES, + CONTENT_LIST, + CONTENT_DETAILS }; } \ No newline at end of file diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index 5010025..70c7001 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -27,6 +27,10 @@ namespace QuickMedia { void video_content_page(); void episode_list_page(); void image_page(); + void content_list_page(); + void content_details_page(); + + void select_episode(BodyItem *item, bool start_from_beginning); private: sf::RenderWindow window; sf::Vector2f window_size; @@ -39,7 +43,9 @@ namespace QuickMedia { // TODO: Combine these std::string images_url; std::string content_title; + std::string content_episode; std::string content_url; + std::string content_list_url; std::string chapter_title; int image_index; Path content_storage_file; -- cgit v1.2.3