From 3b541a9a4c0423178d68a1c34ab85efa9d97fc3b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 11 Sep 2023 11:55:37 +0200 Subject: Add font specific scale config --- include/Config.hpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/Config.hpp b/include/Config.hpp index 306b535..44cde39 100644 --- a/include/Config.hpp +++ b/include/Config.hpp @@ -68,19 +68,28 @@ namespace QuickMedia { std::string file_directory; }; + struct FontScaleConfig { + float latin = 1.0f; + float latin_bold = 1.0f; + float latin_monospace = 1.0f; + float cjk = 1.0f; + float symbols = 1.0f; + }; + struct FontConfig { std::string latin; std::string latin_bold; std::string latin_monospace; std::string cjk; std::string symbols; + FontScaleConfig scale; }; struct MangadexConfig { bool allow_hentai = false; }; - struct FileManager { + struct FileManagerConfig { bool grid_view = true; }; @@ -102,7 +111,7 @@ namespace QuickMedia { DownloadConfig download; FontConfig font; MangadexConfig mangadex; - FileManager file_manager; + FileManagerConfig file_manager; bool use_system_fonts = false; bool use_system_mpv_config = false; bool enable_shaders = true; -- cgit v1.2.3