diff options
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/render/box.h b/render/box.h index 5d31a198b..9a90c21a4 100644 --- a/render/box.h +++ b/render/box.h @@ -293,9 +293,8 @@ void box_free_box(struct box *box); void box_free_object_params(struct object_params *op); 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, int x, int y, - int *box_x, int *box_y, - struct content **content); +struct box *box_at_point(struct box *box, const int x, const int y, + int *box_x, int *box_y, struct content **content); struct box *box_object_at_point(struct content *c, int x, int y); struct box *box_href_at_point(struct content *c, int x, int y); struct box *box_find_by_id(struct box *box, const char *id); |