mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-03 06:17:44 -04:00
25 lines
414 B
C
25 lines
414 B
C
#ifndef LIBPICOFE_READPNG_H
|
|
#define LIBPICOFE_READPNG_H
|
|
|
|
typedef enum
|
|
{
|
|
READPNG_BG = 1,
|
|
READPNG_FONT,
|
|
READPNG_SELECTOR,
|
|
READPNG_24,
|
|
READPNG_SCALE,
|
|
}
|
|
readpng_what;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
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
|
|
}
|
|
#endif
|
|
|
|
#endif // LIBPICOFE_READPNG_H
|