diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-03-27 10:11:34 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-03-27 10:11:34 (GMT) |
| commit | 4f81b59e2cd453c1a9422fb1f45d2cd27d52b2a3 (patch) | |
| tree | 025c4a6cac1f059247ea5777c49ff56fd7bf2fb8 /src/displayapp/screens/WatchFaceDigital.h | |
| parent | c8694c78c6cc05ae09e862e7ecd09407c7a3c3b7 (diff) | |
Attempt to show temperature reading
Diffstat (limited to 'src/displayapp/screens/WatchFaceDigital.h')
| -rw-r--r-- | src/displayapp/screens/WatchFaceDigital.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/displayapp/screens/WatchFaceDigital.h b/src/displayapp/screens/WatchFaceDigital.h index 572a783..770645d 100644 --- a/src/displayapp/screens/WatchFaceDigital.h +++ b/src/displayapp/screens/WatchFaceDigital.h @@ -7,6 +7,7 @@ #include "displayapp/screens/Screen.h" #include "components/datetime/DateTimeController.h" #include "components/ble/BleController.h" +#include "systemtask/SystemTask.h" namespace Pinetime { namespace Controllers { @@ -28,12 +29,14 @@ namespace Pinetime { Controllers::Ble& bleController, Controllers::NotificationManager& notificatioManager, Controllers::Settings& settingsController, - Controllers::MotionController& motionController); + Controllers::MotionController& motionController, + System::SystemTask& systemTask); ~WatchFaceDigital() override; void Refresh() override; private: + System::SystemTask& systemTask; uint8_t displayedHour = -1; uint8_t displayedMinute = -1; @@ -50,6 +53,7 @@ namespace Pinetime { DirtyValue<uint32_t> stepCount {}; DirtyValue<bool> notificationState {}; + lv_obj_t* label_temp; lv_obj_t* label_time; lv_obj_t* label_time_ampm; lv_obj_t* label_date; |
