aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-05 14:06:00 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-05 14:06:00 +0200
commit19ffb223cbc3eb62ae96d837aa07a4eea03c2b7e (patch)
tree30ba29ecd19b7037482f5d43a651b25075aef9b6 /include
parent27d5c7dcc37b0064801741a7c1e5500160c4c2d7 (diff)
Manga: add --upscale-images-force to force upscaling, regardless of original image resolution
Diffstat (limited to 'include')
-rw-r--r--include/QuickMedia.hpp8
1 files changed, 7 insertions, 1 deletions
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;