diff options
author | JF <JF002@users.noreply.github.com> | 2021-10-09 19:50:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-09 19:50:36 +0200 |
commit | 4118f97812c6335b907a2b5602dcb12ed40aa0da (patch) | |
tree | e75e3fec889a0538331ff50db8f8dd5d74ed7052 /src/displayapp/screens/Alarm.h | |
parent | 90fdea29b80016c6d0e6d518853c9251555ea695 (diff) | |
parent | 05f8850acf163f255d58e6224a3f9382b42e6ed4 (diff) |
Merge pull request #701 from maksalees/close-info-popup-with-back-button-in-alarm
Alarm: Close the popup with information about the time until alarm with the back button
Diffstat (limited to 'src/displayapp/screens/Alarm.h')
-rw-r--r-- | src/displayapp/screens/Alarm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/displayapp/screens/Alarm.h b/src/displayapp/screens/Alarm.h index abf97eba..32a14d2f 100644 --- a/src/displayapp/screens/Alarm.h +++ b/src/displayapp/screens/Alarm.h @@ -31,6 +31,7 @@ namespace Pinetime { ~Alarm() override; void SetAlerting(); void OnButtonEvent(lv_obj_t* obj, lv_event_t event); + bool OnButtonPushed() override; private: bool running; @@ -46,6 +47,7 @@ namespace Pinetime { void SetRecurButtonState(); void SetAlarm(); void ShowInfo(); + void HideInfo(); void ToggleRecurrence(); void UpdateAlarmTime(); }; |