From ee8e5234562c2b9ee1bb261785135abd4f718f83 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 4 Oct 2023 15:38:18 +1100 Subject: Add a basic database reindex screen --- src/ui/include/modal_progress.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/ui/include/modal_progress.hpp') diff --git a/src/ui/include/modal_progress.hpp b/src/ui/include/modal_progress.hpp index f312d509..2ccb671a 100644 --- a/src/ui/include/modal_progress.hpp +++ b/src/ui/include/modal_progress.hpp @@ -19,10 +19,15 @@ namespace modals { class Progress : public Modal { public: - Progress(Screen*, std::pmr::string title); + Progress(Screen*, std::pmr::string title, std::pmr::string subtitle = ""); + + void title(const std::pmr::string&); + void subtitle(const std::pmr::string&); private: lv_obj_t* container_; + lv_obj_t* title_; + lv_obj_t* subtitle_; }; } // namespace modals -- cgit v1.2.3