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/Symbols.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/DisplayApp/Screens/Symbols.h (limited to 'src/DisplayApp/Screens/Symbols.h') diff --git a/src/DisplayApp/Screens/Symbols.h b/src/DisplayApp/Screens/Symbols.h new file mode 100644 index 00000000..3104db87 --- /dev/null +++ b/src/DisplayApp/Screens/Symbols.h @@ -0,0 +1,24 @@ +#pragma once + +namespace Pinetime { + namespace Applications { + namespace Screens { + namespace Symbols { + static constexpr char* batteryFull = "\xEF\x89\x80"; + static constexpr char* batteryEmpty = "\xEF\x89\x84"; + static constexpr char* batteryThreeQuarter = "\xEF\x89\x81"; + static constexpr char* batteryHalf = "\xEF\x89\x82"; + static constexpr char* batteryOneQuarter = "\xEF\x89\x83"; + static constexpr char* heartBeat = "\xEF\x88\x9E"; + static constexpr char* bluetoothFull = "\xEF\x8A\x93"; + static constexpr char* bluetooth = "\xEF\x8A\x94"; + static constexpr char* plug = "\xEF\x87\xA6"; + static constexpr char* shoe = "\xEF\x95\x8B"; + static constexpr char* clock = "\xEF\x80\x97"; + static constexpr char* info = "\xEF\x84\xA9"; + static constexpr char* list = "\xEF\x80\xBA"; + static constexpr char* sun = "\xEF\x86\x85"; + } + } + } +} \ No newline at end of file -- cgit v1.2.3