notaz.gp2x.de
/
libpicofe.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
input: detect dead devices, always set keynames
[libpicofe.git]
/
common
/
readpng.h
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);
15
int writepng(const char *fname, unsigned short *src, int w, int h);
16
17
#ifdef __cplusplus
18
}
19
#endif