aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/StopWatch.h
diff options
context:
space:
mode:
authorcodingjourney <coding@journey.sk>2024-11-30 04:03:58 +0100
committerJF <JF002@users.noreply.github.com>2025-11-04 21:25:31 +0100
commit4de9fc9b88c1e3fc9ced4931d446386374161d61 (patch)
tree8a194289b68dd3274abb241cb4c2961802fb6ae0 /src/displayapp/screens/StopWatch.h
parent9a4131c40e5a6a0cb47524a97a0d05ae3187c99c (diff)
improved layout, improved re-alignment of time fields
Diffstat (limited to 'src/displayapp/screens/StopWatch.h')
-rw-r--r--src/displayapp/screens/StopWatch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/displayapp/screens/StopWatch.h b/src/displayapp/screens/StopWatch.h
index 26cfb43f..dc69d5b4 100644
--- a/src/displayapp/screens/StopWatch.h
+++ b/src/displayapp/screens/StopWatch.h
@@ -39,13 +39,15 @@ namespace Pinetime::Applications {
void RenderPause();
void RenderLaps();
+ void SetHoursVisible(bool visible);
+
Pinetime::System::WakeLock wakeLock;
Controllers::StopWatchController& stopWatchController;
TickType_t blinkTime = 0;
static constexpr int displayedLaps = 2;
lv_obj_t *time, *msecTime, *btnPlayPause, *btnStopLap, *txtPlayPause, *txtStopLap;
lv_obj_t* lapText;
- bool isHoursLabelUpdated = false;
+ bool hoursVisible = false;
lv_task_t* taskRefresh;
};