notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pandora: handle custom size fb for menu layer
[libpicofe.git]
/
common
/
readpng.h
diff --git
a/common/readpng.h
b/common/readpng.h
index
542a774
..
ce5d635
100644
(file)
--- a/
common/readpng.h
+++ b/
common/readpng.h
@@
-2,9
+2,17
@@
typedef enum
{
READPNG_BG = 1,
READPNG_FONT,
{
READPNG_BG = 1,
READPNG_FONT,
- READPNG_SELECTOR
+ READPNG_SELECTOR,
+ READPNG_24,
}
readpng_what;
}
readpng_what;
-void readpng(void *dest, const char *fname, readpng_what what);
+#ifdef __cplusplus
+extern "C" {
+#endif
+int readpng(void *dest, const char *fname, readpng_what what, int w, int h);
+
+#ifdef __cplusplus
+}
+#endif