From da39f402e5b91c78b724bfe568efc9339459f5a2 Mon Sep 17 00:00:00 2001 From: JF Date: Sat, 4 Jul 2020 13:58:15 +0200 Subject: Replace bitmap icons by font icons (provided by AwesomeFont and LVGL). These icons are smaller in memory and quicker to draw. BLE and battery icon replaced in Clock screen. Added heartbeat and step icons in Clock screen. Replace all labels in Menu by icons. Add doc to generate new font. --- src/DisplayApp/Screens/BatteryIcon.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/DisplayApp/Screens/BatteryIcon.h') diff --git a/src/DisplayApp/Screens/BatteryIcon.h b/src/DisplayApp/Screens/BatteryIcon.h index 4e2a3a03..58f04a87 100644 --- a/src/DisplayApp/Screens/BatteryIcon.h +++ b/src/DisplayApp/Screens/BatteryIcon.h @@ -7,8 +7,9 @@ namespace Pinetime { namespace Screens { class BatteryIcon { public: - static lv_img_dsc_t* GetUnknownIcon(); - static lv_img_dsc_t* GetIcon(bool isCharging, float batteryPercent); + static const char* GetUnknownIcon(); + static const char* GetBatteryIcon(float batteryPercent); + static const char* GetPlugIcon(bool isCharging); }; } } -- cgit v1.2.3-70-g09d2