summaryrefslogtreecommitdiff
path: root/nsxiv/icon/data.h
diff options
context:
space:
mode:
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 */