summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-01-06 23:53:40 +0000
committerJames Bursa <james@netsurf-browser.org>2003-01-06 23:53:40 +0000
commit3af4ad82a8da059a71e1c0e6f35e11203dd64def (patch)
tree423efd6d224b43b2428c8cc3efeadcf2f731551d /render/box.h
parent59a1594f21113e4627de7087335fae2d0f1d9ff8 (diff)
downloadnetsurf-3af4ad82a8da059a71e1c0e6f35e11203dd64def.tar.gz
netsurf-3af4ad82a8da059a71e1c0e6f35e11203dd64def.tar.bz2
[project @ 2003-01-06 23:53:39 by bursa]
Changes to integrate images and forms. svn path=/import/netsurf/; revision=86
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/render/box.h b/render/box.h
index 38e377fc6..c7b694612 100644
--- a/render/box.h
+++ b/render/box.h
@@ -1,5 +1,5 @@
/**
- * $Id: box.h,v 1.16 2003/01/02 13:26:43 bursa Exp $
+ * $Id: box.h,v 1.17 2003/01/06 23:53:40 bursa Exp $
*/
#ifndef _NETSURF_RENDER_BOX_H_
@@ -75,8 +75,6 @@ struct gui_gadget {
};
struct img {
- int width;
- int height;
char* alt;
char* src;
};
@@ -88,7 +86,7 @@ struct box {
unsigned long x, y, width, height;
unsigned long min_width, max_width;
const char * text;
- int space; /* 1 <=> followed by a space */
+ unsigned int space : 1; /* 1 <=> followed by a space */
const char * href;
unsigned int length;
unsigned int columns;
@@ -134,7 +132,7 @@ void xml_to_box(xmlNode * n, struct css_style * parent_style, struct css_stylesh
struct box * parent, struct box * inline_container,
const 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 gui_gadget* current_textarea, struct form* current_form,
struct page_elements* elements);
void box_dump(struct box * box, unsigned int depth);
void box_free(struct box *box);