summaryrefslogtreecommitdiff
path: root/nsxiv/icon/data.h
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2022-05-05 17:32:35 +0000
committerstkhan <personal@slickd.xyz>2022-05-05 17:32:35 +0000
commit42966e3e531b8e46e4ab31480d45aa7a141f19ce (patch)
tree9a5a195e95bed96abb6601992d4e9e9a9634c300 /nsxiv/icon/data.h
parent2d4cdb2e921b9ecf74d7569b3e505754d483ef1a (diff)
added config files, and nsxiv
Diffstat (limited to 'nsxiv/icon/data.h')
-rw-r--r--nsxiv/icon/data.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/nsxiv/icon/data.h b/nsxiv/icon/data.h
new file mode 100644
index 0000000..98ac5f3
--- /dev/null
+++ b/nsxiv/icon/data.h
@@ -0,0 +1,14 @@
+#ifndef ICON_DATA_H
+#define ICON_DATA_H
+
+typedef struct {
+ unsigned int size;
+ unsigned int cnt;
+ const unsigned char *data;
+} icon_data_t;
+
+#define ICON_(s) { s, ARRLEN(icon_data_##s), icon_data_##s }
+
+#include "data.gen.h"
+
+#endif /* ICON_DATA_H */