diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-08-15 19:06:24 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-08-15 19:06:24 +0000 |
commit | 006344401cfaedda64387fd59c1626b71cb178d6 (patch) | |
tree | 56480bd73e57dda657c30a37596af6b2f9058484 /riscos/thumbnail.c | |
parent | f36a8d6ba8ccccd9ebdd895451a54408040bf01a (diff) | |
download | netsurf-006344401cfaedda64387fd59c1626b71cb178d6.tar.gz netsurf-006344401cfaedda64387fd59c1626b71cb178d6.tar.bz2 |
[project @ 2004-08-15 19:06:23 by jmb]
Rationalise image redraw.
Supply background colour when redrawing contents
Reenable printing of background images
Require Tinct 0.07
svn path=/import/netsurf/; revision=1234
Diffstat (limited to 'riscos/thumbnail.c')
-rw-r--r-- | riscos/thumbnail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/thumbnail.c b/riscos/thumbnail.c index 60c412c0f..2c0953113 100644 --- a/riscos/thumbnail.c +++ b/riscos/thumbnail.c @@ -105,7 +105,7 @@ void thumbnail_create(struct content *content, osspriteop_area *area, (osspriteop_header *)(oversampled_area + 1)); if (save_area == NULL) return; content_redraw(content, 0, height * 2, width * 2, height * 2, - 0, 0, width * 2, height * 2, scale); + 0, 0, width * 2, height * 2, scale, 0xFFFFFF); thumbnail_restore_output(save_area); /* Scale back @@ -152,7 +152,7 @@ void thumbnail_create(struct content *content, osspriteop_area *area, os_ACTION_OVERWRITE, 0); os_clg(); content_redraw(content, 0, height * 2, width * 2, height * 2, - 0, 0, width * 2, height * 2, scale); + 0, 0, width * 2, height * 2, scale, 0xFFFFFF); thumbnail_restore_output(save_area); } } |