diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-10-12 08:10:32 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2019-10-12 08:10:35 +0200 |
commit | 0fda98b233ae0f44b1f0a8691958087619b243e1 (patch) | |
tree | bd3187a03b18b7a4765e57801e932401af63f542 /include | |
parent | 589bc5b1694a355ad92b17048f5b5ee9b45d24d2 (diff) |
Start on 4chan, go to previous/next chapter when reaching beginning/end
Diffstat (limited to 'include')
-rw-r--r-- | include/Page.hpp | 4 | ||||
-rw-r--r-- | include/QuickMedia.hpp | 6 |
2 files changed, 9 insertions, 1 deletions
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; |