X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fcommon%2Freadpng.h;fp=frontend%2Fcommon%2Freadpng.h;h=ce5d6351e29141b6626075ec8f07be6b29606294;hb=698517be481301b4525c29873134a67b8343af3c;hp=0000000000000000000000000000000000000000;hpb=1972732abfea710d3d7b61180971580d9e5081ce;p=pcsx_rearmed.git diff --git a/frontend/common/readpng.h b/frontend/common/readpng.h new file mode 100644 index 00000000..ce5d6351 --- /dev/null +++ b/frontend/common/readpng.h @@ -0,0 +1,18 @@ +typedef enum +{ + READPNG_BG = 1, + READPNG_FONT, + READPNG_SELECTOR, + READPNG_24, +} +readpng_what; + +#ifdef __cplusplus +extern "C" { +#endif + +int readpng(void *dest, const char *fname, readpng_what what, int w, int h); + +#ifdef __cplusplus +} +#endif