From 5ba091235fef86fda675021812eb7559241c1b80 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 16 Oct 2021 21:22:40 +0200 Subject: Allow setting video max height in config --- include/Config.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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"; -- cgit v1.2.3