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/Symbols.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/Symbols.h')
-rw-r--r-- | src/DisplayApp/Screens/Symbols.h | 24 |
1 files changed, 24 insertions, 0 deletions
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 |