From 9b78daf135d7fa555990454c219649e4d54157d2 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 2 Jul 2005 18:17:51 +0000 Subject: [project @ 2005-07-02 18:17:51 by bursa] Rewrite calculation of box minimum and maximum widths to improve layout of many pages. Move calculation of column types and border collapsing to box tree normalising stage, since they are layout independent. Add window height parameter to layout and make and at least window height. svn path=/import/netsurf/; revision=1777 --- render/layout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render/layout.h') diff --git a/render/layout.h b/render/layout.h index c56b42d9c..f37f8fd7c 100644 --- a/render/layout.h +++ b/render/layout.h @@ -20,7 +20,7 @@ struct box; -bool layout_document(struct content *content, int width); +bool layout_document(struct content *content, int width, int height); 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, struct content *content); -- cgit v1.2.3