diff options
| author | fossison <100048769+fossison@users.noreply.github.com> | 2023-04-16 06:55:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-16 15:55:49 +0200 |
| commit | d472a71078ba42b67acbb9f5cd1e9b6da5ed47dc (patch) | |
| tree | 9090647fd748d068c6385c3b2fb192451b533bd7 /src/displayapp/screens/StopWatch.h | |
| parent | 5d45392453e964767cac98f806be3c2162b7c3e1 (diff) | |
stopwatch: Add hours tracking (#1692)
Stopwatch application : add hours tracking
---------
Co-authored-by: fossison <fossison@mailbox.org>
Co-authored-by: Jean-François Milants <jf@codingfield.com>
Diffstat (limited to 'src/displayapp/screens/StopWatch.h')
| -rw-r--r-- | src/displayapp/screens/StopWatch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/displayapp/screens/StopWatch.h b/src/displayapp/screens/StopWatch.h index 409e3a19..d1acd162 100644 --- a/src/displayapp/screens/StopWatch.h +++ b/src/displayapp/screens/StopWatch.h @@ -13,6 +13,7 @@ namespace Pinetime::Applications::Screens { enum class States { Init, Running, Halted }; struct TimeSeparated_t { + int hours; int mins; int secs; int hundredths; @@ -48,6 +49,7 @@ namespace Pinetime::Applications::Screens { int lapsDone = 0; lv_obj_t *time, *msecTime, *btnPlayPause, *btnStopLap, *txtPlayPause, *txtStopLap; lv_obj_t* lapText; + bool isHoursLabelUpdated = false; lv_task_t* taskRefresh; }; |
