diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2022-07-06 19:28:13 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2022-07-06 19:28:13 +0200 |
commit | 3017f704d92190967815066ae686354fd5bf4edc (patch) | |
tree | b3c14a2d57bc3f696dea72b233e6ceb65cec7316 /src/icon.c | |
parent | 0.0.22 (diff) | |
download | sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.gz sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.bz2 sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.lz sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.xz sear.c-3017f704d92190967815066ae686354fd5bf4edc.tar.zst sear.c-3017f704d92190967815066ae686354fd5bf4edc.zip |
Diffstat (limited to 'src/icon.c')
-rwxr-xr-x | src/icon.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/icon.c b/src/icon.c new file mode 100755 index 0000000..0611086 --- /dev/null +++ b/src/icon.c @@ -0,0 +1,12 @@ +#include <stdio.h> +#define sear_width 16 +#define sear_height 16 +static unsigned char sear_bits[] = { + 0x00, 0x00, 0x0c, 0x07, 0x92, 0x08, 0x44, 0x10, 0x29, 0x24, 0x26, 0x28, + 0x20, 0x24, 0x40, 0x10, 0xc0, 0x08, 0x60, 0x07, 0x30, 0x00, 0x18, 0x30, + 0x0c, 0x08, 0x06, 0x08, 0x00, 0x32, 0x00, 0x00}; +int main (void) { + printf("P5 16 16 1\n"); + for (unsigned i = 0; i < sizeof(sear_bits)*8; i++) + putchar(sear_bits[i/8] & 1 << i % 8 ? 0 : 1); +} |