From 698517be481301b4525c29873134a67b8343af3c Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 9 Dec 2010 18:56:03 +0200 Subject: pull in more code from PicoDrive --- frontend/common/readpng.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 frontend/common/readpng.h (limited to 'frontend/common/readpng.h') 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 -- cgit v1.2.3