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 --- desktop/history_core.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'desktop/history_core.h') diff --git a/desktop/history_core.h b/desktop/history_core.h index be09fb1cb..883ee9cea 100644 --- a/desktop/history_core.h +++ b/desktop/history_core.h @@ -41,9 +41,10 @@ void history_forward(struct browser_window *bw, struct history *history); bool history_back_available(struct history *history); bool history_forward_available(struct history *history); void history_size(struct history *history, int *width, int *height); -bool history_redraw(struct history *history); +bool history_redraw(struct history *history, const struct redraw_context *ctx); bool history_redraw_rectangle(struct history *history, - int x0, int y0, int x1, int y1, int x, int y); + int x0, int y0, int x1, int y1, int x, int y, + const struct redraw_context *ctx); bool history_click(struct browser_window *bw, struct history *history, int x, int y, bool new_window); const char *history_position_url(struct history *history, int x, int y); -- cgit v1.2.3