diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-03-30 20:16:43 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-03-30 20:16:43 (GMT) |
| commit | 022d01608d80ba0338b173c3f0e07069f6333a92 (patch) | |
| tree | 155f87fab537f7c31029234bd9c135a4a4ceb4c1 /src/displayapp/screens/WatchFaceDigital.h | |
| parent | 8166dd9fc6c16b10bfc0fc86d1f28fdf763cf784 (diff) | |
digital watch face: simplify code and display a bit
Diffstat (limited to 'src/displayapp/screens/WatchFaceDigital.h')
| -rw-r--r-- | src/displayapp/screens/WatchFaceDigital.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/displayapp/screens/WatchFaceDigital.h b/src/displayapp/screens/WatchFaceDigital.h index 572a783..eb95e6f 100644 --- a/src/displayapp/screens/WatchFaceDigital.h +++ b/src/displayapp/screens/WatchFaceDigital.h @@ -42,6 +42,8 @@ namespace Pinetime { Controllers::DateTime::Days currentDayOfWeek = Pinetime::Controllers::DateTime::Days::Unknown; uint8_t currentDay = 0; + char hhmm_label_text[6] = { '?', '?', ':', '?', '?', 0 }; + DirtyValue<uint8_t> batteryPercentRemaining {}; DirtyValue<bool> powerPresent {}; DirtyValue<bool> bleState {}; @@ -51,7 +53,7 @@ namespace Pinetime { DirtyValue<bool> notificationState {}; lv_obj_t* label_time; - lv_obj_t* label_time_ampm; + lv_obj_t* label_time_pm; lv_obj_t* label_date; lv_obj_t* backgroundLabel; lv_obj_t* batteryIcon; |
