diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-10-16 21:22:40 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-10-16 21:22:40 +0200 |
commit | 5ba091235fef86fda675021812eb7559241c1b80 (patch) | |
tree | 6c85de6dd29b6ba2bc2ca5f88c518a9001d6d0a4 /include | |
parent | 8574d6c7da09f5d5929df8ff8c35cb4d82389459 (diff) |
Allow setting video max height in config
Diffstat (limited to 'include')
-rw-r--r-- | include/Config.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Config.hpp b/include/Config.hpp index 5e0218b..2091cf2 100644 --- a/include/Config.hpp +++ b/include/Config.hpp @@ -26,6 +26,10 @@ namespace QuickMedia { int font_size = 16; }; + struct VideoConfig { + int max_height = 0; + }; + struct Config { Config() = default; Config(const Config&) = delete; @@ -35,6 +39,7 @@ namespace QuickMedia { TabConfig tab; BodyConfig body; InputConfig input; + VideoConfig video; bool use_system_fonts = false; bool use_system_mpv_config = false; std::string theme = "default"; |