diff options
author | JF <jf@codingfield.com> | 2020-07-04 13:58:15 +0200 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-07-04 13:58:15 +0200 |
commit | da39f402e5b91c78b724bfe568efc9339459f5a2 (patch) | |
tree | d2508ce6eca43c29516feb4d2680cba17890af45 /src/DisplayApp/Screens/BleIcon.h | |
parent | bb11891b6e66efdc0a0fc8a9761d94719fd4748f (diff) |
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.
Diffstat (limited to 'src/DisplayApp/Screens/BleIcon.h')
-rw-r--r-- | src/DisplayApp/Screens/BleIcon.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/DisplayApp/Screens/BleIcon.h b/src/DisplayApp/Screens/BleIcon.h index ee090f96..c1398d2a 100644 --- a/src/DisplayApp/Screens/BleIcon.h +++ b/src/DisplayApp/Screens/BleIcon.h @@ -1,13 +1,11 @@ #pragma once -#include <libs/lvgl/src/lv_draw/lv_img_decoder.h> - namespace Pinetime { namespace Applications { namespace Screens { class BleIcon { public: - static lv_img_dsc_t* GetIcon(bool isConnected); + static const char* GetIcon(bool isConnected); }; } } |