summaryrefslogtreecommitdiff
path: root/src/DisplayApp/Screens/Modal.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-03-25 21:23:40 +0100
committerJF <jf@codingfield.com>2020-03-25 21:23:40 +0100
commit68240704c7a60534342cfc0157564f11cf82d9d8 (patch)
tree8472af61a5fa8a99ce5549f2de73b47f73cf41b6 /src/DisplayApp/Screens/Modal.h
parent7e9a7e4d5fa0f55b43180600d499f1d0ce6aded1 (diff)
Add support for BLE notification (ANS client).
Work In Progress!!!
Diffstat (limited to 'src/DisplayApp/Screens/Modal.h')
-rw-r--r--src/DisplayApp/Screens/Modal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DisplayApp/Screens/Modal.h b/src/DisplayApp/Screens/Modal.h
index de287293..b13b5c60 100644
--- a/src/DisplayApp/Screens/Modal.h
+++ b/src/DisplayApp/Screens/Modal.h
@@ -23,6 +23,7 @@ namespace Pinetime {
~Modal() override;
void Show();
+ void Show(const std::string& message);
void Hide();
bool Refresh() override;
@@ -37,6 +38,8 @@ namespace Pinetime {
lv_obj_t *mbox;
lv_obj_t *info;
bool running = true;
+ bool isVisible = false;
+ std::string message;
};
}