diff options
Diffstat (limited to 'src/displayapp/screens/WatchFaceDigital.h')
| -rw-r--r-- | src/displayapp/screens/WatchFaceDigital.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/displayapp/screens/WatchFaceDigital.h b/src/displayapp/screens/WatchFaceDigital.h index eb95e6f..2e0ad0b 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,8 +53,10 @@ namespace Pinetime { DirtyValue<std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds>> currentDateTime {}; DirtyValue<bool> motionSensorOk {}; DirtyValue<uint32_t> stepCount {}; + DirtyValue<uint16_t> temperature {}; DirtyValue<bool> notificationState {}; + lv_obj_t* label_temp; lv_obj_t* label_time; lv_obj_t* label_time_pm; lv_obj_t* label_date; |
