aboutsummaryrefslogtreecommitdiff
path: root/include/QuickMedia.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-13 05:19:37 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-13 05:19:37 +0100
commitc3819073118488ffef5482957758d65be8c33cec (patch)
tree75d4ba28772f90580d2ca1c3056e244ccaaea440 /include/QuickMedia.hpp
parentfc27e590c39e3b309683e275541fd9b3164985dc (diff)
Attempt to fix video player focus, add keys to navigate to previous/next chapter in image scroll view
Diffstat (limited to 'include/QuickMedia.hpp')
-rw-r--r--include/QuickMedia.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 1fda7a3..c1df4ed 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -134,8 +134,9 @@ namespace QuickMedia {
void video_content_page(Page *parent_page, VideoPage *video_page, std::string video_title, bool download_if_streaming_fails, Body *parent_body, int play_index, int *parent_body_page = nullptr, const std::string &parent_page_search = "");
void save_manga_progress(MangaImagesPage *images_page, Json::Value &json_chapters, Json::Value &json_chapter, int &latest_read);
// Returns -1 to go to previous chapter, 0 to stay on same chapter and 1 to go to next chapter
- int image_page(MangaImagesPage *images_page, Body *chapters_body);
- void image_continuous_page(MangaImagesPage *images_page);
+ int image_page(MangaImagesPage *images_page, Body *chapters_body, bool &continue_left_off);
+ // Returns -1 to go to previous chapter, 0 to stay on same chapter and 1 to go to next chapter
+ int image_continuous_page(MangaImagesPage *images_page);
void image_board_thread_page(ImageBoardThreadPage *thread_page, Body *thread_body);
void chat_login_page();
bool chat_page(MatrixChatPage *matrix_chat_page, RoomData *current_room);