diff options
author | James Bursa <james@netsurf-browser.org> | 2005-04-09 09:47:37 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2005-04-09 09:47:37 +0000 |
commit | 2920bca14adbf145d64754b1ef8e6b888c7995ee (patch) | |
tree | db57b9169d89bf0bc79e06c1cde68db60adf2462 /render/box.h | |
parent | 8728712699ff8ff80bfce53308e073898c958c11 (diff) | |
download | netsurf-2920bca14adbf145d64754b1ef8e6b888c7995ee.tar.gz netsurf-2920bca14adbf145d64754b1ef8e6b888c7995ee.tar.bz2 |
[project @ 2005-04-09 09:47:36 by bursa]
Move HTML contents almost fully over to talloc(), simplifying code. Improvements to title attributes, broken forms, cellpadding. Reorder functions in box_construct.c.
svn path=/import/netsurf/; revision=1608
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/render/box.h b/render/box.h index 28a1f2b4e..3e1b24182 100644 --- a/render/box.h +++ b/render/box.h @@ -76,7 +76,6 @@ #include <limits.h> #include <stdbool.h> #include "libxml/HTMLparser.h" -#include "netsurf/utils/pool.h" struct box; @@ -90,7 +89,7 @@ typedef enum { BOX_TABLE, BOX_TABLE_ROW, BOX_TABLE_CELL, BOX_TABLE_ROW_GROUP, BOX_FLOAT_LEFT, BOX_FLOAT_RIGHT, - BOX_INLINE_BLOCK, BOX_BR + BOX_INLINE_BLOCK, BOX_BR, BOX_TEXT } box_type; /* parameters for <object> and related elements */ @@ -232,8 +231,8 @@ struct column { struct box * box_create(struct css_style *style, - const char *href, const char *title, - const char *id, pool box_pool); + char *href, char *title, + char *id, void *context); void box_add_child(struct box *parent, struct box *child); void box_insert_sibling(struct box *box, struct box *new_box); void box_free(struct box *box); @@ -259,6 +258,6 @@ void box_scrollbar_dimensions(const struct box *box, bool xml_to_box(xmlNode *n, struct content *c); -bool box_normalise_block(struct box *block, pool box_pool); +bool box_normalise_block(struct box *block, struct content *c); #endif |