diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2005-06-23 17:24:23 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2005-06-23 17:24:23 +0000 |
commit | f559054c1a1b0819e52e0f9d04fc55be484746c5 (patch) | |
tree | 2c6652666c751a1a368920679da0ba85b01854d8 /riscos/plotters.c | |
parent | b88a81b9d9570c3219dc924c3dd2b424d99ee4c3 (diff) | |
download | netsurf-f559054c1a1b0819e52e0f9d04fc55be484746c5.tar.gz netsurf-f559054c1a1b0819e52e0f9d04fc55be484746c5.tar.bz2 |
[project @ 2005-06-23 17:24:23 by rjw]
Allow images to be unloaded to disk or compressed in memory. Provide thumbnails in all tree windows (hotlist, history). Optimise the application initialisation times. Part 2 of 2.
svn path=/import/netsurf/; revision=1762
Diffstat (limited to 'riscos/plotters.c')
-rw-r--r-- | riscos/plotters.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/riscos/plotters.c b/riscos/plotters.c index a017c12c8..8b3a5a80b 100644 --- a/riscos/plotters.c +++ b/riscos/plotters.c @@ -347,7 +347,8 @@ bool ro_plot_disc(int x, int y, int radius, colour colour) bool ro_plot_bitmap(int x, int y, int width, int height, struct bitmap *bitmap, colour bg) { - return image_redraw(&bitmap->sprite_area, + bitmap_get_buffer(bitmap); + return image_redraw(bitmap->sprite_area, ro_plot_origin_x + x * 2, ro_plot_origin_y - y * 2, width, height, @@ -364,7 +365,8 @@ bool ro_plot_bitmap_tile(int x, int y, int width, int height, struct bitmap *bitmap, colour bg, bool repeat_x, bool repeat_y) { - return image_redraw(&bitmap->sprite_area, + bitmap_get_buffer(bitmap); + return image_redraw(bitmap->sprite_area, ro_plot_origin_x + x * 2, ro_plot_origin_y - y * 2, width, height, |