summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-07-19 14:29:16 +0000
committerJames Bursa <james@netsurf-browser.org>2004-07-19 14:29:16 +0000
commit946566b0b645d1789c20ef4b48cd2e7dd423545e (patch)
tree31c49ed120ee55a529bc7a22e84b125c3d79bc82
parent586cf7f27cfaeedb90541f5f1b672e688b90ab90 (diff)
downloadnetsurf-946566b0b645d1789c20ef4b48cd2e7dd423545e.tar.gz
netsurf-946566b0b645d1789c20ef4b48cd2e7dd423545e.tar.bz2
[project @ 2004-07-19 14:29:16 by bursa]
Make layout_inline_container() public for use of textareas. svn path=/import/netsurf/; revision=1103
-rw-r--r--render/layout.c2
-rw-r--r--render/layout.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/render/layout.c b/render/layout.c
index 4506222d4..8b4de6fb8 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -50,8 +50,6 @@ static void layout_find_dimensions(int available_width,
static int layout_clear(struct box *fl, css_clear clear);
static void find_sides(struct box *fl, int y0, int y1,
int *x0, int *x1, struct box **left, struct box **right);
-static bool layout_inline_container(struct box *box, int width,
- struct box *cont, int cx, int cy, pool box_pool);
static int line_height(struct css_style *style);
static bool layout_line(struct box *first, int width, int *y,
int cx, int cy, struct box *cont, bool indent,
diff --git a/render/layout.h b/render/layout.h
index b1495f2d9..20a993c14 100644
--- a/render/layout.h
+++ b/render/layout.h
@@ -20,5 +20,7 @@
bool layout_document(struct box *box, int width, pool box_pool);
bool layout_block_context(struct box *block, pool box_pool);
+bool layout_inline_container(struct box *box, int width,
+ struct box *cont, int cx, int cy, pool box_pool);
#endif