diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-06-30 15:48:07 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-06-30 15:48:07 +0000 |
commit | eddae6af0663243a2677674d501f9a87d55798f5 (patch) | |
tree | 08562171f870a6b592d624adfbfd0d6fa11fcdcb /cocoa/HistoryView.m | |
parent | a5dc6b9e6637c85d18510ac6446ee4a8a7955e7b (diff) | |
download | netsurf-eddae6af0663243a2677674d501f9a87d55798f5.tar.gz netsurf-eddae6af0663243a2677674d501f9a87d55798f5.tar.bz2 |
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
Diffstat (limited to 'cocoa/HistoryView.m')
-rw-r--r-- | cocoa/HistoryView.m | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cocoa/HistoryView.m b/cocoa/HistoryView.m index 65f971d28..a68418416 100644 --- a/cocoa/HistoryView.m +++ b/cocoa/HistoryView.m @@ -56,10 +56,15 @@ { [[NSColor clearColor] set]; [NSBezierPath fillRect: rect]; + + struct redraw_context ctx = { + .interactive = true, + .plot = &cocoa_plotters + }; cocoa_set_clip( rect ); - history_redraw( browser->history ); + history_redraw( browser->history, &ctx ); } - (void) mouseUp: (NSEvent *)theEvent; |