aboutsummaryrefslogtreecommitdiff
path: root/include/Theme.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-04 02:31:10 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-04 02:31:10 +0200
commitfa815c3eee27cdae69b2e765b03de62a13f6379d (patch)
tree4244ae7b62e2c94d749f0b199dd620bdd251dad0 /include/Theme.hpp
parentdd4573e05cdfa2d9b99ef7a49c99e27c201da3e9 (diff)
Make font sizes customizable with a config file, see example-config.json. Remove environment variables
Diffstat (limited to 'include/Theme.hpp')
-rw-r--r--include/Theme.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/Theme.hpp b/include/Theme.hpp
index 3b49b4f..25372a6 100644
--- a/include/Theme.hpp
+++ b/include/Theme.hpp
@@ -5,8 +5,8 @@
namespace QuickMedia {
struct Theme {
Theme() = default;
- Theme(Theme&) = delete;
- Theme&operator=(Theme&) = delete;
+ Theme(const Theme&) = delete;
+ Theme&operator=(const Theme&) = delete;
sf::Color background_color;
sf::Color text_color;
@@ -35,5 +35,5 @@ namespace QuickMedia {
};
void init_themes();
- Theme& get_current_theme();
+ const Theme& get_current_theme();
}