diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-08-25 15:13:25 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-08-25 15:13:25 +1000 |
| commit | 795f26873742eaad7ce53084052d988a0fd542f8 (patch) | |
| tree | 1616ad6149c27b3cd263377741c677d5294a5080 /src/ui/include/screen.hpp | |
| parent | 3b3bc64d19715c418f407d5231795ca5a2c2fa71 (diff) | |
| download | tangara-fw-795f26873742eaad7ce53084052d988a0fd542f8.tar.gz | |
Add placeholder settings UI
Diffstat (limited to 'src/ui/include/screen.hpp')
| -rw-r--r-- | src/ui/include/screen.hpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ui/include/screen.hpp b/src/ui/include/screen.hpp index 250b3c8d..f93d17a5 100644 --- a/src/ui/include/screen.hpp +++ b/src/ui/include/screen.hpp @@ -52,8 +52,8 @@ class Screen { -> widgets::TopBar*; lv_obj_t* const root_; - lv_obj_t* const content_; - lv_obj_t* const modal_content_; + lv_obj_t* content_; + lv_obj_t* modal_content_; lv_group_t* const group_; lv_group_t* modal_group_; @@ -62,4 +62,9 @@ class Screen { std::unique_ptr<widgets::TopBar> top_bar_; }; +class MenuScreen : public Screen { + public: + MenuScreen(const std::string& title, bool show_back_button = true); +}; + } // namespace ui |
