pandora: add tv layer selection helper
[libpicofe.git] / readpng.h
CommitLineData
7bf7acb6
GI
1#ifndef LIBPICOFE_READPNG_H
2#define LIBPICOFE_READPNG_H
3
13059a60 4typedef enum
5{
6 READPNG_BG = 1,
7 READPNG_FONT,
ff63afa1 8 READPNG_SELECTOR,
f6eaae4f 9 READPNG_24,
13059a60 10}
11readpng_what;
12
ff63afa1 13#ifdef __cplusplus
14extern "C" {
15#endif
13059a60 16
f6eaae4f 17int readpng(void *dest, const char *fname, readpng_what what, int w, int h);
7fd8dbbb 18int writepng(const char *fname, unsigned short *src, int w, int h);
ff63afa1 19
20#ifdef __cplusplus
21}
22#endif
7bf7acb6
GI
23
24#endif // LIBPICOFE_READPNG_H