From 8edb43af7dbf0b28892f9d8a8d8ddae523e41b73 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Tue, 25 Feb 2003 21:00:27 +0000 Subject: [project @ 2003-02-25 21:00:27 by bursa] Bug fixes, experimental JPEG support. svn path=/import/netsurf/; revision=100 --- content/content.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'content/content.h') 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; -- cgit v1.2.3