diff options
author | Ole Loots <ole@monochrom.net> | 2012-06-03 17:06:11 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-06-03 17:06:11 +0000 |
commit | 95bf664c884f544a6a82026bf66b3b846f4c6710 (patch) | |
tree | a7e16df495e69c0e2788f15e38855d032f8ce7e0 /atari/plot.c | |
parent | 9dc9e36bc3a99bc4c8c3c2061df4097e3ccc446c (diff) | |
download | netsurf-95bf664c884f544a6a82026bf66b3b846f4c6710.tar.gz netsurf-95bf664c884f544a6a82026bf66b3b846f4c6710.tar.bz2 |
Load toolbar icons from a single bitmap file.
svn path=/trunk/netsurf/; revision=13935
Diffstat (limited to 'atari/plot.c')
-rwxr-xr-x | atari/plot.c | 10 |
1 files changed, 8 insertions, 2 deletions
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;
|