From 3128ecf2a5c94102e0e1659f947a345d36750afe Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 28 Jun 2011 20:17:39 +0000 Subject: Unify content_redraw params in content_redraw_data struct. Core and RISC OS content handlers updated. svn path=/trunk/netsurf/; revision=12529 --- content/content_protected.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'content/content_protected.h') diff --git a/content/content_protected.h b/content/content_protected.h index 180a4a0d8..688010ec8 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -54,10 +54,8 @@ struct content_handler { browser_mouse_state mouse, int x, int y); void (*mouse_action)(struct content *c, struct browser_window *bw, browser_mouse_state mouse, int x, int y); - bool (*redraw)(struct content *c, int x, int y, - int width, int height, const struct rect *clip, - float scale, colour background_colour, - bool repeat_x, bool repeat_y); + bool (*redraw)(struct content *c, struct content_redraw_data *data, + const struct rect *clip); void (*open)(struct content *c, struct browser_window *bw, struct content *page, struct box *box, -- cgit v1.2.3