From eddae6af0663243a2677674d501f9a87d55798f5 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 30 Jun 2011 15:48:07 +0000 Subject: Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends. svn path=/trunk/netsurf/; revision=12543 --- content/content_protected.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'content/content_protected.h') diff --git a/content/content_protected.h b/content/content_protected.h index 688010ec8..bc2079017 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -36,6 +36,8 @@ struct bitmap; struct content; +struct rect; +struct redraw_context; struct content_handler { nserror (*create)(const content_handler *handler, @@ -55,7 +57,8 @@ struct content_handler { void (*mouse_action)(struct content *c, struct browser_window *bw, browser_mouse_state mouse, int x, int y); bool (*redraw)(struct content *c, struct content_redraw_data *data, - const struct rect *clip); + const struct rect *clip, + const struct redraw_context *ctx); void (*open)(struct content *c, struct browser_window *bw, struct content *page, struct box *box, -- cgit v1.2.3