From 09b1ede5a3fe5c37e34fe1c13780536f30297806 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Tue, 15 Apr 2003 17:53:00 +0000 Subject: [project @ 2003-04-15 17:53:00 by bursa] Inline images and related. svn path=/import/netsurf/; revision=125 --- content/content.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'content/content.h') diff --git a/content/content.h b/content/content.h index ce7f05248..462d58b69 100644 --- a/content/content.h +++ b/content/content.h @@ -1,5 +1,5 @@ /** - * $Id: content.h,v 1.8 2003/04/13 12:50:10 bursa Exp $ + * $Id: content.h,v 1.9 2003/04/15 17:53:00 bursa Exp $ */ #ifndef _NETSURF_DESKTOP_CONTENT_H_ @@ -49,8 +49,15 @@ struct content { char *url; content_type type; - enum {CONTENT_LOADING, CONTENT_READY} status; + enum { + CONTENT_LOADING, /* content is being fetched or converted + and is not safe to display */ + CONTENT_PENDING, /* some parts of content still being + loaded, but can be displayed */ + CONTENT_DONE /* all finished */ + } status; unsigned long width, height; + unsigned long available_width; union { @@ -69,6 +76,12 @@ struct content } text_selection; struct font_set* fonts; struct page_elements elements; + unsigned int object_count; /* images etc. */ + struct { + char *url; + struct content *content; + struct box *box; + } *object; } html; struct @@ -94,6 +107,7 @@ struct content int error; void (*status_callback)(void *p, const char *status); void *status_p; + char status_message[80]; }; -- cgit v1.2.3