summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/WatchFaceDigital.h
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-27 10:11:34 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-03-27 10:30:47 (GMT)
commit06fc04bcb3b0993c0b1ff2a13848e62b0eaeb529 (patch)
treeb26e33d78cd25d48b0a75c5de763f1790c7b0ff4 /src/displayapp/screens/WatchFaceDigital.h
parentc8694c78c6cc05ae09e862e7ecd09407c7a3c3b7 (diff)
Show temperature reading
Diffstat (limited to 'src/displayapp/screens/WatchFaceDigital.h')
-rw-r--r--src/displayapp/screens/WatchFaceDigital.h6
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;