diff options
Diffstat (limited to 'src/ui/include/modal_progress.hpp')
| -rw-r--r-- | src/ui/include/modal_progress.hpp | 7 |
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 |
