From 4de9fc9b88c1e3fc9ced4931d446386374161d61 Mon Sep 17 00:00:00 2001 From: codingjourney Date: Sat, 30 Nov 2024 04:03:58 +0100 Subject: improved layout, improved re-alignment of time fields --- src/displayapp/screens/StopWatch.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/displayapp/screens/StopWatch.h') 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; }; -- cgit v1.2.3-70-g09d2