From 795f26873742eaad7ce53084052d988a0fd542f8 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 25 Aug 2023 15:13:25 +1000 Subject: Add placeholder settings UI --- src/ui/include/screen.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/ui/include/screen.hpp') 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 top_bar_; }; +class MenuScreen : public Screen { + public: + MenuScreen(const std::string& title, bool show_back_button = true); +}; + } // namespace ui -- cgit v1.2.3