From 95bf664c884f544a6a82026bf66b3b846f4c6710 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Sun, 3 Jun 2012 17:06:11 +0000 Subject: Load toolbar icons from a single bitmap file. svn path=/trunk/netsurf/; revision=13935 --- atari/plot.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'atari/plot.c') diff --git a/atari/plot.c b/atari/plot.c index 1ce08a7e8..861460f49 100755 --- a/atari/plot.c +++ b/atari/plot.c @@ -113,7 +113,13 @@ static bool plot_polygon(const int *p, unsigned int n, { plotter->polygon( plotter, p, n, style ); return ( true ); -} +} + +bool plot_set_dimensions( int x, int y, int w, int h ) +{ + plotter->resize( plotter, w, h ); + plotter->move( plotter, x, y ); +} bool plot_clip(const struct rect *clip) { @@ -191,7 +197,7 @@ static bool plot_bitmap(int x, int y, int width, int height, return( true ); } - if (!(repeat_x || repeat_y)) { + if (!(repeat_x || repeat_y) ) { plotter->bitmap( plotter, bm, x, y, bg, flags ); } else { int xf,yf; -- cgit v1.2.3