aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Config.hpp13
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;