summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Notifications.h
diff options
context:
space:
mode:
authorFlorian Kraupa <fgrauper@gmail.com>2021-05-12 23:51:43 (GMT)
committerFlorian Kraupa <fgrauper@gmail.com>2021-05-15 22:42:31 (GMT)
commit9e8dd9a1e63523f4e3ed322978e5b5e079c50375 (patch)
tree73cc471746eb4b5c9e1bab542a4c5c5457ace203 /src/displayapp/screens/Notifications.h
parent56af4a0b830cd93ff12753042cdf105b65d0bcc8 (diff)
NotificationItem now also redefines the start of the timeout
Diffstat (limited to 'src/displayapp/screens/Notifications.h')
-rw-r--r--src/displayapp/screens/Notifications.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/displayapp/screens/Notifications.h b/src/displayapp/screens/Notifications.h
index 99c95a8..32bd077 100644
--- a/src/displayapp/screens/Notifications.h
+++ b/src/displayapp/screens/Notifications.h
@@ -37,7 +37,8 @@ namespace Pinetime {
Modes mode,
Pinetime::Controllers::AlertNotificationService& alertNotificationService,
Controllers::MotorController& motorController,
- uint32_t* timeoutEnd);
+ uint32_t* timeoutEnd,
+ uint32_t* timeoutStart);
~NotificationItem();
bool Refresh() {
return false;
@@ -66,6 +67,7 @@ namespace Pinetime {
lv_obj_t* label_reject;
lv_obj_t* bottomPlaceholder;
uint32_t* timeoutEnd;
+ uint32_t* timeoutStart;
Modes mode;
Pinetime::Controllers::AlertNotificationService& alertNotificationService;
Controllers::MotorController& motorController;