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