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 --- render/box.h | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'render/box.h') 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); -- cgit v1.2.3