diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-01 18:38:06 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-01 18:38:06 +0200 |
commit | 6624db873c91087bc1805b9d018c92c455b85190 (patch) | |
tree | 169010942015f1ff209cd56600f4de433c8792ef /include/Theme.hpp | |
parent | 5d40409fc6e54af4c4dccdab11f03bce21c5a9a2 (diff) |
Move dropdown button text and icon code to dropdown button class
Diffstat (limited to 'include/Theme.hpp')
-rw-r--r-- | include/Theme.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/Theme.hpp b/include/Theme.hpp new file mode 100644 index 0000000..182d264 --- /dev/null +++ b/include/Theme.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include <mglpp/graphics/Color.hpp> + +namespace gsr { + struct GsrInfo; + + struct Theme { + Theme() = default; + Theme(const Theme&) = delete; + Theme& operator=(const Theme&) = delete; + + mgl::Color tint_color = mgl::Color(118, 185, 0); + }; + + void init_theme(const gsr::GsrInfo &gsr_info); + const Theme& get_theme(); +}
\ No newline at end of file |