aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-08-14 11:26:37 +0200
committerdec05eba <dec05eba@protonmail.com>2022-08-14 11:26:37 +0200
commitef28e7c26568cbd3f39949eee04997d210e98f8b (patch)
tree62cfef6e1e8f014b6b5f221c9057d461ba1f68e7 /include
parent809141aae58b6aaa70c07d845392d6ced86c3eb0 (diff)
Add option to disable rounded corners
Diffstat (limited to 'include')
-rw-r--r--include/Config.hpp1
-rw-r--r--include/Theme.hpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/Config.hpp b/include/Config.hpp
index 665024a..101b0be 100644
--- a/include/Config.hpp
+++ b/include/Config.hpp
@@ -61,6 +61,7 @@ namespace QuickMedia {
YoutubeConfig youtube;
bool use_system_fonts = false;
bool use_system_mpv_config = false;
+ bool enable_shaders = true;
std::string theme = "default";
float scale = 1.0f;
float font_scale = 1.0f;
diff --git a/include/Theme.hpp b/include/Theme.hpp
index 974f4f7..91856eb 100644
--- a/include/Theme.hpp
+++ b/include/Theme.hpp
@@ -31,6 +31,8 @@ namespace QuickMedia {
mgl::Color loading_page_color = mgl::Color(175, 180, 188);
mgl::Color more_items_color = mgl::Color(150, 175, 255, 100);
bool drop_shadow = false;
+ bool circle_mask_enabled = true;
+ bool rounded_rectangles = true;
};
const Theme& get_theme();