summaryrefslogtreecommitdiff
path: root/src/ui/include/themes.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/include/themes.hpp')
-rw-r--r--src/ui/include/themes.hpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/ui/include/themes.hpp b/src/ui/include/themes.hpp
index 9af80c0d..ef0e719c 100644
--- a/src/ui/include/themes.hpp
+++ b/src/ui/include/themes.hpp
@@ -4,14 +4,24 @@
namespace ui {
namespace themes {
+
+ enum class Style {
+ kMenuItem,
+ kTopBar
+ };
class Theme {
public:
- Theme();
+
void Apply(void);
void Callback(lv_obj_t* obj);
+ void ApplyStyle(lv_obj_t* obj, Style style);
+
+ static auto instance() -> Theme*;
private:
+ Theme();
lv_style_t button_style_;
+ lv_style_t button_style_focused_;
lv_theme_t theme_;
};
} // namespace themes