From 19ffb223cbc3eb62ae96d837aa07a4eea03c2b7e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 5 Oct 2020 14:06:00 +0200 Subject: Manga: add --upscale-images-force to force upscaling, regardless of original image resolution --- include/QuickMedia.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/QuickMedia.hpp') diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index 155adc7..62cee6b 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -78,6 +78,12 @@ namespace QuickMedia { void save_recommendations_from_related_videos(); private: + enum class UpscaleImageAction { + NO, + LOW_RESOLUTION, + FORCE + }; + Display *disp; sf::RenderWindow window; int monitor_hz; @@ -119,7 +125,7 @@ namespace QuickMedia { bool use_tor = false; bool no_video = false; bool use_system_mpv_config = false; - bool upscale_images = false; + UpscaleImageAction upscale_image_action = UpscaleImageAction::NO; bool running = false; // TODO: Save this to config file when switching modes ImageViewMode image_view_mode = ImageViewMode::SINGLE; -- cgit v1.2.3