notaz.gp2x.de
/
libpicofe.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4bb7ba77c40f29155ddb6a0d943c1718e7efd107
[libpicofe.git]
/
readpng.h
1
#ifndef LIBPICOFE_READPNG_H
2
#define LIBPICOFE_READPNG_H
3
4
typedef enum
5
{
6
READPNG_BG = 1,
7
READPNG_FONT,
8
READPNG_SELECTOR,
9
READPNG_24,
10
}
11
readpng_what;
12
13
#ifdef __cplusplus
14
extern "C" {
15
#endif
16
17
int readpng(void *dest, const char *fname, readpng_what what, int w, int h);
18
int writepng(const char *fname, unsigned short *src, int w, int h);
19
20
#ifdef __cplusplus
21
}
22
#endif
23
24
#endif // LIBPICOFE_READPNG_H