summaryrefslogtreecommitdiff
path: root/src/ui/include/modal_progress.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-10-04 15:38:18 +1100
committerjacqueline <me@jacqueline.id.au>2023-10-04 15:38:18 +1100
commitee8e5234562c2b9ee1bb261785135abd4f718f83 (patch)
treececd2f215dcd7298e17e9538902da8c59b7fadb8 /src/ui/include/modal_progress.hpp
parent28633e857f86a21d874117fd677de5e8ad21d8d3 (diff)
downloadtangara-fw-ee8e5234562c2b9ee1bb261785135abd4f718f83.tar.gz
Add a basic database reindex screen
Diffstat (limited to 'src/ui/include/modal_progress.hpp')
-rw-r--r--src/ui/include/modal_progress.hpp7
1 files changed, 6 insertions, 1 deletions
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