summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-24 03:27:36 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-03-24 03:27:36 (GMT)
commit9df60a6f45efd447e51ade9be3269903ca3680fd (patch)
treecee6b6794725bf06942259312b6f30d696f78253
parentfc3b11349015a34d292e1f2c2e03353ee6a799a0 (diff)
analog24wip
-rw-r--r--src/displayapp/screens/WatchFaceAnalog24.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/displayapp/screens/WatchFaceAnalog24.cpp b/src/displayapp/screens/WatchFaceAnalog24.cpp
index cc29eb3..09f0cc5 100644
--- a/src/displayapp/screens/WatchFaceAnalog24.cpp
+++ b/src/displayapp/screens/WatchFaceAnalog24.cpp
@@ -76,6 +76,11 @@ WatchFaceAnalog24::WatchFaceAnalog24(Pinetime::Applications::DisplayApp* app,
lv_label_set_text(notificationIcon, NotificationIcon::GetIcon(false));
lv_obj_align(notificationIcon, NULL, LV_ALIGN_IN_TOP_LEFT, 0, 0);
+ batteryIcon = lv_label_create(lv_scr_act(), nullptr);
+ lv_label_set_text(batteryIcon, Symbols::batteryHalf);
+ lv_obj_align(batteryIcon, NULL, LV_ALIGN_IN_TOP_RIGHT, 0, 0);
+ lv_obj_set_auto_realign(batteryIcon, true);
+
// Date - Day / Week day
// label_date_day = lv_label_create(lv_scr_act(), NULL);