summaryrefslogtreecommitdiff
path: root/cocoa/plotter.m
diff options
context:
space:
mode:
authorSven Weidauer <sven.weidauer@gmail.com>2011-01-28 08:54:55 +0000
committerSven Weidauer <sven.weidauer@gmail.com>2011-01-28 08:54:55 +0000
commitaa3fc46df54bf3f6591c8b127b93001a80c03118 (patch)
treea7578241121b5d79bacb4c5943987bea7545a34c /cocoa/plotter.m
parenta1f1138479a276b78be2866bd6a29ee6eb019fb6 (diff)
downloadnetsurf-aa3fc46df54bf3f6591c8b127b93001a80c03118.tar.gz
netsurf-aa3fc46df54bf3f6591c8b127b93001a80c03118.tar.bz2
Implemented resolution independence fot the TreeView and HistoryView and moved the coordinate transform function to their own header.
svn path=/trunk/netsurf/; revision=11513
Diffstat (limited to 'cocoa/plotter.m')
-rw-r--r--cocoa/plotter.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/cocoa/plotter.m b/cocoa/plotter.m
index c37a017c9..bff1ac02a 100644
--- a/cocoa/plotter.m
+++ b/cocoa/plotter.m
@@ -119,6 +119,10 @@ static bool plot_text(int x, int y, const char *text, size_t length,
return true;
}
+void cocoa_set_clip( NSRect rect )
+{
+ cocoa_plot_clip_rect = rect;
+}
static bool plot_clip(int x0, int y0, int x1, int y1)
{