aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-05 14:21:30 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-05 14:47:11 +0200
commitcc12a7d907a958fa9d646c05c98ac1b2ad7efb72 (patch)
tree003bf0eb21cb3fb5d67e270af734cf12f8d593c2 /include
parent19ffb223cbc3eb62ae96d837aa07a4eea03c2b7e (diff)
Manga: add f keybinding to fit image to window
Diffstat (limited to 'include')
-rw-r--r--include/QuickMedia.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 62cee6b..016202c 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -117,6 +117,7 @@ namespace QuickMedia {
std::thread image_upscale_thead;
std::mutex image_upscale_mutex;
std::deque<CopyOp> images_to_upscale;
+ std::vector<char> image_upscale_status;
std::condition_variable image_upscale_cv;
std::string downloading_chapter_url;
bool image_download_cancel = false;
@@ -132,5 +133,6 @@ namespace QuickMedia {
Body *related_media_body;
std::vector<std::string> selected_files;
FileManager *file_manager = nullptr;
+ bool fit_image_to_window = false;
};
} \ No newline at end of file