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/scrollbar.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'desktop/scrollbar.h') diff --git a/desktop/scrollbar.h b/desktop/scrollbar.h index 66bf83cf2..7c5307fff 100644 --- a/desktop/scrollbar.h +++ b/desktop/scrollbar.h @@ -93,10 +93,12 @@ void scrollbar_destroy(struct scrollbar *s); * \param y the Y coordinate to draw the scrollbar at * \param clip the clipping rectangle * \param scale scale for the redraw + * \param ctx current redraw context * \return true on succes false otherwise */ bool scrollbar_redraw(struct scrollbar *s, int x, int y, - const struct rect *clip, float scale); + const struct rect *clip, float scale, + const struct redraw_context *ctx); /** * Set the scroll value of the scrollbar. -- cgit v1.2.3