summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-08-21 15:27:52 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-08-21 15:27:52 +0100
commitafdf72d7b58110b2848ed9be6b8c15cc45b59891 (patch)
treecf6833e477b774ccdecd6716ea1eb45cc119d2da /render/box.h
parent7ffe9c2b5d85057876252896219f712663f9a6fc (diff)
downloadnetsurf-afdf72d7b58110b2848ed9be6b8c15cc45b59891.tar.gz
netsurf-afdf72d7b58110b2848ed9be6b8c15cc45b59891.tar.bz2
Confine box_at_point to the document it's given. Callers are now responsible for calling whatever functionality for object boxes. Remove last bw dereference from render directory. Remove a couple of unused functions.
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/render/box.h b/render/box.h
index 30feacfb9..6b1d28d80 100644
--- a/render/box.h
+++ b/render/box.h
@@ -324,9 +324,7 @@ void box_free_box(struct box *box);
void box_bounds(struct box *box, struct rect *r);
void box_coords(struct box *box, int *x, int *y);
struct box *box_at_point(struct box *box, const int x, const int y,
- int *box_x, int *box_y, struct hlcache_handle **content);
-struct box *box_object_at_point(struct hlcache_handle *h, int x, int y);
-struct box *box_href_at_point(struct hlcache_handle *h, int x, int y);
+ int *box_x, int *box_y);
struct box *box_pick_text_box(struct html_content *html,
int x, int y, int dir, int *dx, int *dy);
struct box *box_find_by_id(struct box *box, lwc_string *id);