diff options
author | James Bursa <james@netsurf-browser.org> | 2002-08-11 23:01:02 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2002-08-11 23:01:02 +0000 |
commit | 72a56e87921f63ed6e263c52c503d2a6296e2485 (patch) | |
tree | b0f3d9e7027b41cf95fd010f4b826822db454581 /render/box.h | |
parent | 94d4798ca694180a66a571d04ef64320fb0faa94 (diff) | |
download | netsurf-72a56e87921f63ed6e263c52c503d2a6296e2485.tar.gz netsurf-72a56e87921f63ed6e263c52c503d2a6296e2485.tar.bz2 |
[project @ 2002-08-11 23:00:24 by bursa]
[monkeyson & bursa] Support for links.
svn path=/import/netsurf/; revision=28
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/render/box.h b/render/box.h index 1ee923ddf..ed4000d86 100644 --- a/render/box.h +++ b/render/box.h @@ -1,7 +1,13 @@ /** - * $Id: box.h,v 1.5 2002/06/28 20:14:04 bursa Exp $ + * $Id: box.h,v 1.6 2002/08/11 23:01:02 bursa Exp $ */ +#ifndef _NETSURF_RENDER_BOX_H_ +#define _NETSURF_RENDER_BOX_H_ + +#include "libxml/HTMLparser.h" +#include "netsurf/render/css.h" + /** * structures */ @@ -18,6 +24,7 @@ struct box { struct css_style * style; unsigned long x, y, width, height; const char * text; + const char * href; unsigned int length; unsigned int colspan; struct box * next; @@ -34,6 +41,8 @@ struct box { struct box * xml_to_box(xmlNode * n, struct css_style * parent_style, struct css_stylesheet * stylesheet, struct css_selector ** selector, unsigned int depth, - struct box * parent, struct box * inline_container); + struct box * parent, struct box * inline_container, + const char *href); void box_dump(struct box * box, unsigned int depth); +#endif |