add gitignore, gitsubmodules
[picodrive.git] / platform / common / readpng.h
CommitLineData
a12e0116 1typedef enum
2{
3 READPNG_BG = 1,
4 READPNG_FONT,
7a87643e 5 READPNG_SELECTOR,
be672de7 6 READPNG_24,
a12e0116 7}
8readpng_what;
9
7a87643e 10#ifdef __cplusplus
11extern "C" {
12#endif
a12e0116 13
be672de7 14int readpng(void *dest, const char *fname, readpng_what what, int w, int h);
9767592a 15int writepng(const char *fname, unsigned short *src, int w, int h);
7a87643e 16
17#ifdef __cplusplus
18}
19#endif