summaryrefslogtreecommitdiff
path: root/render/layout.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2005-04-09 09:47:37 +0000
committerJames Bursa <james@netsurf-browser.org>2005-04-09 09:47:37 +0000
commit2920bca14adbf145d64754b1ef8e6b888c7995ee (patch)
treedb57b9169d89bf0bc79e06c1cde68db60adf2462 /render/layout.h
parent8728712699ff8ff80bfce53308e073898c958c11 (diff)
downloadnetsurf-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/layout.h')
-rw-r--r--render/layout.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/render/layout.h b/render/layout.h
index 1a926d904..c56b42d9c 100644
--- a/render/layout.h
+++ b/render/layout.h
@@ -16,16 +16,14 @@
#ifndef _NETSURF_RENDER_LAYOUT_H_
#define _NETSURF_RENDER_LAYOUT_H_
-#include "netsurf/utils/pool.h"
-
#define SCROLLBAR_WIDTH 16
struct box;
-bool layout_document(struct box *box, int width, pool box_pool);
-bool layout_block_context(struct box *block, pool box_pool);
+bool layout_document(struct content *content, int width);
+bool layout_block_context(struct box *block, struct content *content);
bool layout_inline_container(struct box *box, int width,
- struct box *cont, int cx, int cy, pool box_pool);
+ struct box *cont, int cx, int cy, struct content *content);
void layout_calculate_descendant_bboxes(struct box *box);
#endif