From 94e7b44ebc1710eed0f870428ddb5bfcd85858fa Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 14 Feb 2011 22:05:39 +0000 Subject: Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct. svn path=/trunk/netsurf/; revision=11683 --- atari/plot.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'atari/plot.h') diff --git a/atari/plot.h b/atari/plot.h index ed86041e5..a11b6d576 100755 --- a/atari/plot.h +++ b/atari/plot.h @@ -22,11 +22,13 @@ #include "desktop/plotters.h" #include "atari/plot/plotter.h" +struct rect; + int atari_plotter_init( char*, char * ); int atari_plotter_finalise( void ); bool plot_get_clip(struct s_clipping * out); -bool plot_clip(int x0, int y0, int x1, int y1); +bool plot_clip(const struct rect *clip); bool plot_rectangle( int x0, int y0, int x1, int y1,const plot_style_t *style ); #endif -- cgit v1.2.3