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 /render/box.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 'render/box.h')
-rw-r--r-- | render/box.h | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/render/box.h b/render/box.h index b4972b6d0..5adb69554 100644 --- a/render/box.h +++ b/render/box.h @@ -1,5 +1,5 @@ /** - * $Id: box.h,v 1.23 2003/04/10 21:44:45 bursa Exp $ + * $Id: box.h,v 1.24 2003/04/15 17:53:00 bursa Exp $ */ #ifndef _NETSURF_RENDER_BOX_H_ @@ -74,11 +74,6 @@ struct gui_gadget { } data; }; -struct img { - char* alt; - char* src; -}; - struct box { box_type type; struct css_style * style; @@ -99,7 +94,7 @@ struct box { struct column *col; struct font_data *font; struct gui_gadget* gadget; - struct img* img; + struct content* object; /* usually an image */ }; struct form @@ -132,14 +127,7 @@ struct page_elements * interface */ -void xml_to_box(xmlNode * n, struct css_style * parent_style, - struct content ** stylesheet, unsigned int stylesheet_count, - struct css_selector ** selector, unsigned int depth, - struct box * parent, struct box * inline_container, - char *href, struct font_set *fonts, - struct gui_gadget* current_select, struct formoption* current_option, - struct gui_gadget* current_textarea, struct form* current_form, - struct page_elements* elements); +void xml_to_box(xmlNode *n, struct content *c); void box_dump(struct box * box, unsigned int depth); void box_free(struct box *box); |