From ef28e7c26568cbd3f39949eee04997d210e98f8b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 14 Aug 2022 11:26:37 +0200 Subject: Add option to disable rounded corners --- include/Config.hpp | 1 + include/Theme.hpp | 2 ++ 2 files changed, 3 insertions(+) (limited to 'include') 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(); -- cgit v1.2.3