readpng.h 242 B

123456789101112131415161718
  1. typedef enum
  2. {
  3. READPNG_BG = 1,
  4. READPNG_FONT,
  5. READPNG_SELECTOR,
  6. READPNG_24,
  7. }
  8. readpng_what;
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. int readpng(void *dest, const char *fname, readpng_what what, int w, int h);
  13. #ifdef __cplusplus
  14. }
  15. #endif