summaryrefslogtreecommitdiff
path: root/src/DisplayApp/Screens/BleIcon.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-07-04 11:58:15 (GMT)
committerJF <jf@codingfield.com>2020-07-04 11:58:15 (GMT)
commitda39f402e5b91c78b724bfe568efc9339459f5a2 (patch)
treed2508ce6eca43c29516feb4d2680cba17890af45 /src/DisplayApp/Screens/BleIcon.h
parentbb11891b6e66efdc0a0fc8a9761d94719fd4748f (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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/DisplayApp/Screens/BleIcon.h b/src/DisplayApp/Screens/BleIcon.h
index ee090f9..c1398d2 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);
};
}
}