From 270ef59a98d34fef418fb6cd27e46f3edc912948 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 28 Mar 2010 12:56:39 +0000 Subject: Merge jmb/new-cache; r=dsilvers,rs=vince svn path=/trunk/netsurf/; revision=10180 --- render/box.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'render/box.h') diff --git a/render/box.h b/render/box.h index b53e0481c..665565f2f 100644 --- a/render/box.h +++ b/render/box.h @@ -239,10 +239,10 @@ struct box { char *id; /**< value of id attribute (or name for anchors) */ /** Background image for this box, or 0 if none */ - struct content *background; + struct hlcache_handle *background; /** Object in this box (usually an image), or 0 if none. */ - struct content* object; + struct hlcache_handle* object; /** Parameters for the object, or 0. */ struct object_params *object_params; }; @@ -307,9 +307,9 @@ 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, 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); + 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); struct box *box_find_by_id(struct box *box, const char *id); bool box_visible(struct box *box); void box_dump(FILE *stream, struct box *box, unsigned int depth); -- cgit v1.2.3