aboutsummaryrefslogtreecommitdiff
path: root/frontend/common/readpng.h
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/common/readpng.h')
-rw-r--r--frontend/common/readpng.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/frontend/common/readpng.h b/frontend/common/readpng.h
new file mode 100644
index 0000000..ce5d635
--- /dev/null
+++ b/frontend/common/readpng.h
@@ -0,0 +1,18 @@
+typedef enum
+{
+ READPNG_BG = 1,
+ READPNG_FONT,
+ READPNG_SELECTOR,
+ READPNG_24,
+}
+readpng_what;
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int readpng(void *dest, const char *fname, readpng_what what, int w, int h);
+
+#ifdef __cplusplus
+}
+#endif