summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2007-08-20 02:39:49 +0000
committerJames Bursa <james@netsurf-browser.org>2007-08-20 02:39:49 +0000
commit21db9de5f8ede54e042a111f6a753cd43816530b (patch)
tree7d31b03f106b438d3e00d0b3bd89f755ee1b06be /render/box.h
parentd1382c6d0effae8b54928c36786c621ea4395374 (diff)
downloadnetsurf-21db9de5f8ede54e042a111f6a753cd43816530b.tar.gz
netsurf-21db9de5f8ede54e042a111f6a753cd43816530b.tar.bz2
Make F9 dump box tree to an editor for easier debugging.
svn path=/trunk/netsurf/; revision=3529
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/box.h b/render/box.h
index 7adcf5988..22a40d13d 100644
--- a/render/box.h
+++ b/render/box.h
@@ -88,6 +88,7 @@
#include <limits.h>
#include <stdbool.h>
+#include <stdio.h>
#include <libxml/HTMLparser.h>
@@ -288,7 +289,7 @@ struct box *box_at_point(struct box *box, int x, int y,
struct box *box_object_at_point(struct content *c, int x, int y);
struct box *box_find_by_id(struct box *box, const char *id);
bool box_visible(struct box *box);
-void box_dump(struct box *box, unsigned int depth);
+void box_dump(FILE *stream, struct box *box, unsigned int depth);
bool box_extract_link(const char *rel, const char *base, char **result);
bool box_vscrollbar_present(const struct box *box);