diff options
author | James Bursa <james@netsurf-browser.org> | 2003-02-25 21:00:27 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-02-25 21:00:27 +0000 |
commit | 8edb43af7dbf0b28892f9d8a8d8ddae523e41b73 (patch) | |
tree | f83c7ed22bfac320b468979e181630e7ebc6dfe4 /content/content.h | |
parent | 9209f8e6cbd2423a243dcab05bbff2e41d193d3f (diff) | |
download | netsurf-8edb43af7dbf0b28892f9d8a8d8ddae523e41b73.tar.gz netsurf-8edb43af7dbf0b28892f9d8a8d8ddae523e41b73.tar.bz2 |
[project @ 2003-02-25 21:00:27 by bursa]
Bug fixes, experimental JPEG support.
svn path=/import/netsurf/; revision=100
Diffstat (limited to 'content/content.h')
-rw-r--r-- | content/content.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/content/content.h b/content/content.h index ed93e7c24..94cbffe20 100644 --- a/content/content.h +++ b/content/content.h @@ -1,5 +1,5 @@ /** - * $Id: content.h,v 1.1 2003/02/09 12:58:14 bursa Exp $ + * $Id: content.h,v 1.2 2003/02/25 21:00:27 bursa Exp $ */ #ifndef _NETSURF_DESKTOP_CONTENT_H_ @@ -26,7 +26,7 @@ * the content may be removed from the memory cache. */ -typedef enum {CONTENT_HTML, CONTENT_TEXTPLAIN, CONTENT_CSS, +typedef enum {CONTENT_HTML, CONTENT_TEXTPLAIN, CONTENT_JPEG, CONTENT_CSS, CONTENT_PNG, CONTENT_OTHER} content_type; struct box_position @@ -44,6 +44,7 @@ struct content char *url; content_type type; enum {CONTENT_LOADING, CONTENT_READY} status; + unsigned long width, height; union { @@ -72,9 +73,9 @@ struct content struct { - unsigned long width, height; - char * sprite; - } image; + char * data; + unsigned long length; + } jpeg; } data; |