diff options
author | James Bursa <james@netsurf-browser.org> | 2003-04-15 17:53:00 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-04-15 17:53:00 +0000 |
commit | 09b1ede5a3fe5c37e34fe1c13780536f30297806 (patch) | |
tree | 5bf9a19301354c45deb6fab2e0386b5ca822714f /content/content.h | |
parent | 63b6455f7365507ce502369b738ecc09e54e25ed (diff) | |
download | netsurf-09b1ede5a3fe5c37e34fe1c13780536f30297806.tar.gz netsurf-09b1ede5a3fe5c37e34fe1c13780536f30297806.tar.bz2 |
[project @ 2003-04-15 17:53:00 by bursa]
Inline images and related.
svn path=/import/netsurf/; revision=125
Diffstat (limited to 'content/content.h')
-rw-r--r-- | content/content.h | 18 |
1 files changed, 16 insertions, 2 deletions
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]; }; |