diff options
| author | mark9064 <30447455+mark9064@users.noreply.github.com> | 2024-04-22 23:53:08 +0100 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2024-09-14 11:20:47 +0200 |
| commit | fd019c7aada09dc78d72eb599798952d608baeb8 (patch) | |
| tree | 6197c8279ac5cb6ed038ebab0f47145ed27667a9 /src/displayapp/screens/Timer.h | |
| parent | 975bfc5420e7e53d134956ca919a29a921942c82 (diff) | |
Use DirtyValue for timer
Diffstat (limited to 'src/displayapp/screens/Timer.h')
| -rw-r--r-- | src/displayapp/screens/Timer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/displayapp/screens/Timer.h b/src/displayapp/screens/Timer.h index 409cae1c..0cb2bb08 100644 --- a/src/displayapp/screens/Timer.h +++ b/src/displayapp/screens/Timer.h @@ -5,6 +5,7 @@ #include "systemtask/SystemTask.h" #include "displayapp/LittleVgl.h" #include "displayapp/widgets/Counter.h" +#include "utility/DirtyValue.h" #include <lvgl/lvgl.h> #include "components/timer/Timer.h" @@ -26,6 +27,7 @@ namespace Pinetime::Applications { void SetTimerRunning(); void SetTimerStopped(); void UpdateMask(); + void DisplayTime(); Pinetime::Controllers::Timer& timer; lv_obj_t* btnPlayPause; @@ -43,6 +45,7 @@ namespace Pinetime::Applications { bool buttonPressing = false; lv_coord_t maskPosition = 0; TickType_t pressTime = 0; + Utility::DirtyValue<std::chrono::seconds> displaySeconds; }; } |
