From afdf72d7b58110b2848ed9be6b8c15cc45b59891 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 21 Aug 2012 15:27:52 +0100 Subject: 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. --- render/box.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'render/box.h') 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); -- cgit v1.2.3