Commit | Line | Data |
---|---|---|
a12e0116 | 1 | typedef enum |
2 | { | |
3 | READPNG_BG = 1, | |
4 | READPNG_FONT, | |
7a87643e | 5 | READPNG_SELECTOR, |
be672de7 | 6 | READPNG_24, |
a12e0116 | 7 | } |
8 | readpng_what; | |
9 | ||
7a87643e | 10 | #ifdef __cplusplus |
11 | extern "C" { | |
12 | #endif | |
a12e0116 | 13 | |
be672de7 | 14 | int readpng(void *dest, const char *fname, readpng_what what, int w, int h); |
9767592a | 15 | int writepng(const char *fname, unsigned short *src, int w, int h); |
7a87643e | 16 | |
17 | #ifdef __cplusplus | |
18 | } | |
19 | #endif |