From d472a71078ba42b67acbb9f5cd1e9b6da5ed47dc Mon Sep 17 00:00:00 2001 From: fossison <100048769+fossison@users.noreply.github.com> Date: Sun, 16 Apr 2023 06:55:49 -0700 Subject: stopwatch: Add hours tracking (#1692) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stopwatch application : add hours tracking --------- Co-authored-by: fossison Co-authored-by: Jean-François Milants --- src/displayapp/screens/StopWatch.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/displayapp/screens/StopWatch.h') 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; }; -- cgit v1.2.3-70-g09d2