diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-09-11 11:55:37 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-09-11 11:55:37 +0200 |
commit | 3b541a9a4c0423178d68a1c34ab85efa9d97fc3b (patch) | |
tree | 425c3ea453af1efb970efcbf2ddcace4227a0a42 /include | |
parent | ed2e118344aa38c5fbe17fc91e9cc41d47bce9ab (diff) |
Add font specific scale config
Diffstat (limited to 'include')
-rw-r--r-- | include/Config.hpp | 13 |
1 files changed, 11 insertions, 2 deletions
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; |