diff options
| author | ailurux <ailuruxx@gmail.com> | 2023-07-08 16:40:49 +1000 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2023-07-08 16:40:49 +1000 |
| commit | d1d4b4a1ab63e9db9c8fc03e1c95fe732c37a0c2 (patch) | |
| tree | af58963da205f4fb3f3083f9fdb35a21127672c1 /src/ui/include/themes.hpp | |
| parent | 22221ae4f66404644ca748d7ce59c0fa5325032d (diff) | |
| download | tangara-fw-d1d4b4a1ab63e9db9c8fc03e1c95fe732c37a0c2.tar.gz | |
Add theme class
Diffstat (limited to 'src/ui/include/themes.hpp')
| -rw-r--r-- | src/ui/include/themes.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ui/include/themes.hpp b/src/ui/include/themes.hpp new file mode 100644 index 00000000..9af80c0d --- /dev/null +++ b/src/ui/include/themes.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include "lvgl.h" + +namespace ui { +namespace themes { +class Theme { + public: + Theme(); + void Apply(void); + void Callback(lv_obj_t* obj); + + private: + lv_style_t button_style_; + lv_theme_t theme_; +}; +} // namespace themes +} // namespace ui
\ No newline at end of file |
