picodrive/platform/common/readpng.h
notaz 9767592ab7 readpnd: teach to writepng too (todo: rename?)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@919 be3aeb3a-fb24-0410-a615-afba39da0efa
2011-03-19 22:25:44 +00:00

19 lines
310 B
C

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);
int writepng(const char *fname, unsigned short *src, int w, int h);
#ifdef __cplusplus
}
#endif