aboutsummaryrefslogtreecommitdiff
path: root/include/QuickMedia.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-07-03 03:10:50 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-03 03:10:50 +0200
commit13681189d41f3d5c6c132d92b7451fea151fb713 (patch)
treeafd0f7fc51179cdd4f9180daa5e30117d7aec30c /include/QuickMedia.hpp
parent59295d52e65deaba992df55c5fe2ad4f52fa3046 (diff)
bind I to switching between single image and scroll mode
Diffstat (limited to 'include/QuickMedia.hpp')
-rw-r--r--include/QuickMedia.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 387a5a5..8884c79 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -18,6 +18,11 @@
namespace QuickMedia {
class Plugin;
class Manga;
+
+ enum class ImageViewMode {
+ SINGLE,
+ SCROLL
+ };
class Program {
public:
@@ -85,5 +90,7 @@ namespace QuickMedia {
std::string resources_root;
bool use_tor = false;
bool use_system_mpv_config = false;
+ // TODO: Save this to config file when switching modes
+ ImageViewMode image_view_mode = ImageViewMode::SINGLE;
};
} \ No newline at end of file