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 --- riscos/gui/url_bar.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'riscos/gui/url_bar.c') diff --git a/riscos/gui/url_bar.c b/riscos/gui/url_bar.c index d92e8fc8d..6614a8ac5 100644 --- a/riscos/gui/url_bar.c +++ b/riscos/gui/url_bar.c @@ -582,6 +582,10 @@ void ro_gui_url_bar_redraw(struct url_bar *url_bar, wimp_draw *redraw) xwimp_plot_icon(&icon); } else { struct content_redraw_data data; + struct redraw_context ctx = { + .interactive = true, + .plot = &ro_plotters + }; xwimp_set_colour(wimp_COLOUR_WHITE); xos_plot(os_MOVE_TO, @@ -611,7 +615,7 @@ void ro_gui_url_bar_redraw(struct url_bar *url_bar, wimp_draw *redraw) data.repeat_x = false; data.repeat_y = false; - content_redraw(url_bar->favicon_content, &data, &clip); + content_redraw(url_bar->favicon_content, &data, &clip, &ctx); } } -- cgit v1.2.3