summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/screens/Symbols.h')
-rw-r--r--src/displayapp/screens/Symbols.h36
1 files changed, 23 insertions, 13 deletions
diff --git a/src/displayapp/screens/Symbols.h b/src/displayapp/screens/Symbols.h
index faca4da..ec4f87c 100644
--- a/src/displayapp/screens/Symbols.h
+++ b/src/displayapp/screens/Symbols.h
@@ -18,11 +18,11 @@
j,k,l, \
m,n,o \
) { \
- 0xF3, \
- 0xB0 | (i<<2) | (j << 1) | k, \
- 0xB0 | (l<<5) | (m<<4) | (n<<3) | (o<<2) | (a<<1) | b, \
- 0xB0 | (c<<5) | (d<<4) | (e<<3) | (f<<2) | (g<<1) | h, \
- 0 \
+ ((char)( 0xF3 )), \
+ ((char)( 0xB0 | (i<<2) | (j<<1) | k )), \
+ ((char)( 0x80 | (l<<5) | (m<<4) | (n<<3) | (o<<2) | (a<<1) | b )), \
+ ((char)( 0x80 | (c<<5) | (d<<4) | (e<<3) | (f<<2) | (g<<1) | h )), \
+ 0 \
}
#define X 1
@@ -33,42 +33,42 @@ namespace Pinetime {
namespace Screens {
namespace Symbols {
static constexpr const char* none = "";
- static constexpr const char* batteryFull =
+ static constexpr const char batteryFull[] =
// "\xEF\x89\x80";
G(_, X, _,
X, X, X,
X, X, X,
X, X, X,
X, X, X);
- static constexpr const char* batteryEmpty =
+ static constexpr const char batteryEmpty[] =
// "\xEF\x89\x84";
G(_, X, _,
X, _, X,
X, _, X,
- X, _, X,
+ X, _, X, // l is ignored!
X, X, X);
- static constexpr const char* batteryThreeQuarter =
+ static constexpr const char batteryThreeQuarter[] =
// Was: "\xEF\x89\x81";
G(_, X, _,
X, X, X,
X, _, X,
X, X, X,
X, X, X);
- static constexpr const char* batteryHalf =
+ static constexpr const char batteryHalf[] =
// Was: "\xEF\x89\x82";
G(_, X, _,
X, _, X,
X, X, X,
X, X, X,
X, X, X);
- static constexpr const char* batteryOneQuarter =
+ static constexpr const char batteryOneQuarter[] =
// Was: "\xEF\x89\x83";
G(_, X, _,
X, _, X,
X, _, X,
X, X, X,
X, X, X);
- static constexpr const char* heartBeat =
+ static constexpr const char heartBeat[] =
// Was: "\xEF\x88\x9E"
G(_, _, _,
X, _, X,
@@ -77,7 +77,13 @@ namespace Pinetime {
_, _, _);
static constexpr const char* bluetoothFull = "\xEF\x8A\x93";
static constexpr const char* bluetooth = "\xEF\x8A\x94";
- static constexpr const char* plug = "\xEF\x87\xA6";
+ static constexpr const char plug[] =
+ // "\xEF\x87\xA6";
+ G(X, _, X,
+ X, X, X,
+ X, X, X,
+ _, X, _,
+ _, X, _);
static constexpr const char* shoe = "\xEF\x95\x8B";
static constexpr const char* clock = "\xEF\x80\x97";
static constexpr const char* info = "\xEF\x84\xA9";
@@ -125,3 +131,7 @@ namespace Pinetime {
}
}
}
+
+#undef G
+#undef X
+#undef _