aboutsummaryrefslogtreecommitdiff
path: root/src/res
diff options
context:
space:
mode:
authorDien-Nhung Nguyen-Phu <kein@kienlab.com>2024-06-09 12:59:34 +0700
committerDien-Nhung Nguyen-Phu <kein@kienlab.com>2024-06-10 12:34:37 +0700
commit8815700322c0c10cb0528b047b2c7604c2eeb053 (patch)
treef1ba04d1c18ac01cb671618309f015599e9da782 /src/res
parentf6d84a1ead1a57574c45bb80b6fd450c5b784e09 (diff)
Add support for .xbm bitmap file
.xbm is easy to include in C as source file. It could be viewed and edited directly without need to be converted between images and C array.
Diffstat (limited to 'src/res')
-rw-r--r--src/res/bluetooth.xbm20
-rw-r--r--src/res/foss-asia-1.xbm14
-rw-r--r--src/res/foss-asia-2.xbm14
-rw-r--r--src/res/fossasia.xbm14
4 files changed, 62 insertions, 0 deletions
diff --git a/src/res/bluetooth.xbm b/src/res/bluetooth.xbm
new file mode 100644
index 0000000..fa8ba8d
--- /dev/null
+++ b/src/res/bluetooth.xbm
@@ -0,0 +1,20 @@
+#define bluetooth_width 24
+#define bluetooth_height 66
+static unsigned char bluetooth_bits[] = {
+ 0x04, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x14, 0x00, 0x00, 0x25, 0x00, 0x00,
+ 0x16, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x16, 0x00, 0x00, 0x25, 0x00, 0x00,
+ 0x14, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x00,
+ 0x0c, 0x00, 0x00, 0x14, 0x00, 0x00, 0x25, 0x00, 0x00, 0x16, 0x01, 0x00,
+ 0x0c, 0x02, 0x00, 0x16, 0x01, 0x00, 0x25, 0x00, 0x00, 0x14, 0x00, 0x00,
+ 0x0c, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x00, 0x0c, 0x00, 0x00,
+ 0x14, 0x00, 0x00, 0x25, 0x08, 0x00, 0x16, 0x11, 0x00, 0x0c, 0x12, 0x00,
+ 0x16, 0x11, 0x00, 0x25, 0x08, 0x00, 0x14, 0x00, 0x00, 0x0c, 0x00, 0x00,
+ 0x04, 0x00, 0x00, 0x04, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x14, 0x40, 0x00,
+ 0x25, 0x88, 0x00, 0x16, 0x11, 0x01, 0x0c, 0x12, 0x01, 0x16, 0x11, 0x01,
+ 0x25, 0x88, 0x00, 0x14, 0x40, 0x00, 0x0c, 0x00, 0x00, 0x04, 0x00, 0x00,
+ 0x04, 0x00, 0x00, 0x0c, 0x00, 0x02, 0x14, 0x40, 0x04, 0x25, 0x88, 0x08,
+ 0x16, 0x11, 0x09, 0x0c, 0x12, 0x09, 0x16, 0x11, 0x09, 0x25, 0x88, 0x08,
+ 0x14, 0x40, 0x04, 0x0c, 0x00, 0x02, 0x04, 0x00, 0x00, 0x04, 0x00, 0x10,
+ 0x0c, 0x00, 0x22, 0x14, 0x40, 0x44, 0x25, 0x88, 0x88, 0x16, 0x11, 0x89,
+ 0x0c, 0x12, 0x89, 0x16, 0x11, 0x89, 0x25, 0x88, 0x88, 0x14, 0x40, 0x44,
+ 0x0c, 0x00, 0x22, 0x04, 0x00, 0x10 };
diff --git a/src/res/foss-asia-1.xbm b/src/res/foss-asia-1.xbm
new file mode 100644
index 0000000..d769f19
--- /dev/null
+++ b/src/res/foss-asia-1.xbm
@@ -0,0 +1,14 @@
+#define foss_asia_1_width 44
+#define foss_asia_1_height 22
+static unsigned char foss_asia_1_bits[] = {
+ 0xf8, 0xf3, 0x1f, 0xff, 0xf9, 0x0f, 0xfc, 0xfb, 0xbf, 0xff, 0xfd, 0x0f,
+ 0x0c, 0x18, 0xb0, 0x01, 0x0c, 0x00, 0x0c, 0x18, 0xb0, 0x01, 0x0c, 0x00,
+ 0xff, 0x1b, 0xb0, 0xff, 0xfc, 0x07, 0xff, 0x1b, 0x30, 0xff, 0xf9, 0x0f,
+ 0x0c, 0x18, 0x30, 0x80, 0x01, 0x0c, 0x0c, 0x18, 0x30, 0x80, 0x01, 0x0c,
+ 0x0c, 0xf8, 0xbf, 0xff, 0xfd, 0x0f, 0x0c, 0xf0, 0x9f, 0xff, 0xfc, 0x07,
+ 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00,
+ 0xff, 0x81, 0xff, 0x00, 0xfc, 0x07, 0xff, 0xc3, 0xff, 0x30, 0xfc, 0x0f,
+ 0x00, 0xc3, 0x00, 0x30, 0x00, 0x0c, 0x00, 0xc3, 0x00, 0x30, 0x00, 0x0c,
+ 0xfe, 0xc3, 0x7f, 0x30, 0xf8, 0x0f, 0xff, 0x83, 0xff, 0x30, 0xfc, 0x0f,
+ 0x03, 0x03, 0xc0, 0x30, 0x0c, 0x0c, 0x03, 0x03, 0xc0, 0x30, 0x0c, 0x0c,
+ 0xff, 0xc3, 0xff, 0x30, 0xfc, 0x0f, 0xfe, 0xc3, 0x7f, 0x30, 0xf8, 0x0f };
diff --git a/src/res/foss-asia-2.xbm b/src/res/foss-asia-2.xbm
new file mode 100644
index 0000000..5a75f5d
--- /dev/null
+++ b/src/res/foss-asia-2.xbm
@@ -0,0 +1,14 @@
+#define foss_asia_2_width 44
+#define foss_asia_2_height 22
+static unsigned char foss_asia_2_bits[] = {
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0xf9, 0x8f, 0xff, 0xfc, 0x07,
+ 0xfe, 0xfd, 0xdf, 0xff, 0xfe, 0x07, 0x06, 0x0c, 0xd8, 0x00, 0x06, 0x00,
+ 0xff, 0x0d, 0xd8, 0x7f, 0xfe, 0x03, 0xff, 0x0d, 0x98, 0xff, 0xfc, 0x07,
+ 0x06, 0x0c, 0x18, 0xc0, 0x00, 0x06, 0x06, 0xfc, 0xdf, 0xff, 0xfe, 0x07,
+ 0x06, 0xf8, 0xcf, 0x7f, 0xfe, 0x03, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x06, 0x00, 0x00, 0x18, 0x00, 0x00, 0x06, 0x00, 0x00, 0x18, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x87, 0xff, 0x99, 0xff, 0x01,
+ 0xfe, 0xcf, 0xff, 0x99, 0xff, 0x03, 0x00, 0xcc, 0x00, 0x18, 0x00, 0x03,
+ 0xfc, 0xcf, 0xff, 0x18, 0xff, 0x03, 0xfe, 0x8f, 0xff, 0x99, 0xff, 0x03,
+ 0x06, 0x0c, 0x80, 0x99, 0x01, 0x03, 0xfe, 0xcf, 0xff, 0x99, 0xff, 0x03,
+ 0xfc, 0xcf, 0xff, 0x18, 0xff, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
diff --git a/src/res/fossasia.xbm b/src/res/fossasia.xbm
new file mode 100644
index 0000000..e6a5a00
--- /dev/null
+++ b/src/res/fossasia.xbm
@@ -0,0 +1,14 @@
+#define fossasia_width 44
+#define fossasia_height 22
+static unsigned char fossasia_bits[] = {
+ 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x9c, 0xc7, 0xf3, 0x1c, 0x2f, 0x07, 0x42, 0x28, 0x08, 0xa0, 0x20, 0x08,
+ 0x42, 0x28, 0x08, 0xa0, 0x20, 0x08, 0x5f, 0xc8, 0x71, 0x3c, 0x27, 0x0f,
+ 0x42, 0x08, 0x82, 0x22, 0xa8, 0x08, 0x42, 0x08, 0x82, 0x22, 0xa8, 0x08,
+ 0x82, 0xe7, 0x79, 0xbc, 0x27, 0x0f, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xdf, 0x0f,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0x63, 0x38, 0x0c, 0xe3, 0xd0, 0x08,
+ 0xbd, 0xd7, 0xf7, 0x5f, 0xdf, 0x07, 0xbd, 0xd7, 0xf7, 0x5f, 0xdf, 0x07,
+ 0xa0, 0x37, 0x8e, 0xc3, 0xd8, 0x00, 0xbd, 0xf7, 0x7d, 0xdd, 0x57, 0x07,
+ 0xbd, 0xf7, 0x7d, 0xdd, 0x57, 0x07, 0x7d, 0x18, 0x86, 0x43, 0xd8, 0x00,
+ 0xfd, 0xff, 0xff, 0xff, 0xff, 0x0f, 0xfd, 0xff, 0xff, 0xff, 0xff, 0x0f };