X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Freadpng.h;h=924b3415605d7b2171c348af0d206ee834b1fcea;hb=4685e5a10e388a9a07f1b11c3c14cce6e4e8ef5b;hp=7d74fee2d8f6b030640dc2e9ae77c2a60dbd9a7f;hpb=7a87643e0702bf156527e066c2a963b6db2b4fa5;p=picodrive.git diff --git a/platform/common/readpng.h b/platform/common/readpng.h index 7d74fee..924b341 100644 --- a/platform/common/readpng.h +++ b/platform/common/readpng.h @@ -3,8 +3,7 @@ typedef enum READPNG_BG = 1, READPNG_FONT, READPNG_SELECTOR, - READPNG_320_24, - READPNG_480_24 + READPNG_24, } readpng_what; @@ -12,7 +11,8 @@ readpng_what; extern "C" { #endif -int readpng(void *dest, const char *fname, readpng_what what); +int readpng(void *dest, const char *fname, readpng_what what, int w, int h); +int writepng(const char *fname, unsigned short *src, int w, int h); #ifdef __cplusplus }