diff options
| author | Finlay Davidson <finlay.davidson@coderclass.nl> | 2023-03-16 22:08:51 +0100 |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2023-03-27 22:12:32 +0000 |
| commit | 616aa91b4c373dd49e60ac8b6b5c942ebc5804c9 (patch) | |
| tree | 954967ccc7fba99ff38d62ae605b3d4afe2a467f /src/displayapp/widgets | |
| parent | 47931f41d579371c9c78ae7061317bf28848db2f (diff) | |
dirtyvalue: Move to src/utility
Diffstat (limited to 'src/displayapp/widgets')
| -rw-r--r-- | src/displayapp/widgets/StatusIcons.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/displayapp/widgets/StatusIcons.h b/src/displayapp/widgets/StatusIcons.h index 27e8b86a..9e21d3ad 100644 --- a/src/displayapp/widgets/StatusIcons.h +++ b/src/displayapp/widgets/StatusIcons.h @@ -6,6 +6,7 @@ #include "components/battery/BatteryController.h" #include "components/ble/BleController.h" #include "displayapp/screens/BatteryIcon.h" +#include "utility/DirtyValue.h" namespace Pinetime { namespace Applications { @@ -27,10 +28,10 @@ namespace Pinetime { const Pinetime::Controllers::Battery& batteryController; const Controllers::Ble& bleController; - Screens::DirtyValue<uint8_t> batteryPercentRemaining {}; - Screens::DirtyValue<bool> powerPresent {}; - Screens::DirtyValue<bool> bleState {}; - Screens::DirtyValue<bool> bleRadioEnabled {}; + Utility::DirtyValue<uint8_t> batteryPercentRemaining {}; + Utility::DirtyValue<bool> powerPresent {}; + Utility::DirtyValue<bool> bleState {}; + Utility::DirtyValue<bool> bleRadioEnabled {}; lv_obj_t* bleIcon; lv_obj_t* batteryPlug; |
