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