diff options
Diffstat (limited to 'src/DisplayApp/Screens/Clock.h')
-rw-r--r-- | src/DisplayApp/Screens/Clock.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/DisplayApp/Screens/Clock.h b/src/DisplayApp/Screens/Clock.h index 7c4a09df..e1e10bdf 100644 --- a/src/DisplayApp/Screens/Clock.h +++ b/src/DisplayApp/Screens/Clock.h @@ -2,16 +2,12 @@ #include <cstdint> #include <chrono> -#include <Components/Gfx/Gfx.h> #include "Screen.h" #include <bits/unique_ptr.h> #include <libs/lvgl/src/lv_core/lv_style.h> #include <libs/lvgl/src/lv_core/lv_obj.h> #include <Components/Battery/BatteryController.h> #include <Components/Ble/BleController.h> -#include "../Fonts/lcdfont14.h" -#include "../Fonts/lcdfont70.h" -#include "../../Version.h" namespace Pinetime { namespace Applications { @@ -64,20 +60,21 @@ namespace Pinetime { DirtyValue<uint8_t> batteryPercentRemaining {0}; DirtyValue<bool> bleState {false}; DirtyValue<std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds>> currentDateTime; - DirtyValue<Pinetime::Version> version; + DirtyValue<uint32_t> stepCount {0}; + DirtyValue<uint8_t> heartbeat {0}; - lv_style_t* labelStyle; - lv_style_t labelBigStyle; - lv_obj_t * label_battery; - lv_obj_t * label_ble; lv_obj_t* label_time; lv_obj_t* label_date; - lv_obj_t* label_version; lv_obj_t* backgroundLabel; - lv_obj_t * batteryIcon; lv_obj_t * bleIcon; + lv_obj_t* batteryPlug; + lv_obj_t* heartbeatIcon; + lv_obj_t* heartbeatValue; + lv_obj_t* heartbeatBpm; + lv_obj_t* stepIcon; + lv_obj_t* stepValue; Controllers::DateTime& dateTimeController; Controllers::Battery& batteryController; |