diff options
Diffstat (limited to 'riscos/png.h')
-rw-r--r-- | riscos/png.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/riscos/png.h b/riscos/png.h index ead45d290..49d311efd 100644 --- a/riscos/png.h +++ b/riscos/png.h @@ -22,13 +22,12 @@ struct content_png_data { char *sprite_image; }; -void nspng_init(void); -void nspng_create(struct content *c, const char *params[]); -void nspng_process_data(struct content *c, char *data, unsigned long size); -int nspng_convert(struct content *c, unsigned int width, unsigned int height); +bool nspng_create(struct content *c, const char *params[]); +bool nspng_process_data(struct content *c, char *data, unsigned int size); +bool nspng_convert(struct content *c, int width, int height); void nspng_destroy(struct content *c); -void nspng_redraw(struct content *c, long x, long y, - unsigned long width, unsigned long height, - long clip_x0, long clip_y0, long clip_x1, long clip_y1, +void nspng_redraw(struct content *c, int x, int y, + int width, int height, + int clip_x0, int clip_y0, int clip_x1, int clip_y1, float scale); #endif |