diff options
author | James Bursa <james@netsurf-browser.org> | 2003-09-07 21:08:13 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-09-07 21:08:13 +0000 |
commit | 9fa8f4037af0f35e690fda48c16f9896c058a029 (patch) | |
tree | 9eba791584194f5a6a22057b9c94da255febd165 /riscos/png.h | |
parent | baf579157638468bf9325bbf543d75cc30d119b8 (diff) | |
download | netsurf-9fa8f4037af0f35e690fda48c16f9896c058a029.tar.gz netsurf-9fa8f4037af0f35e690fda48c16f9896c058a029.tar.bz2 |
[project @ 2003-09-07 21:08:13 by bursa]
Document cache and content, split struct content up.
svn path=/import/netsurf/; revision=270
Diffstat (limited to 'riscos/png.h')
-rw-r--r-- | riscos/png.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/riscos/png.h b/riscos/png.h index 370fa6ba3..2521630b8 100644 --- a/riscos/png.h +++ b/riscos/png.h @@ -8,7 +8,20 @@ #ifndef _NETSURF_RISCOS_PNG_H_ #define _NETSURF_RISCOS_PNG_H_ -#include "netsurf/content/content.h" +#include "libpng/png.h" +#include "oslib/osspriteop.h" + +struct content; + +struct content_png_data { + png_structp png; + png_infop info; + unsigned long rowbytes; + int interlace; + osspriteop_area *sprite_area; + char *sprite_image; + enum { PNG_PALETTE, PNG_DITHER, PNG_DEEP } type; +}; void nspng_init(void); void nspng_create(struct content *c); |