summaryrefslogtreecommitdiff
path: root/riscos/htmlredraw.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-07-16 19:47:03 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-07-16 19:47:03 +0000
commitb7bb766e95a3ffb552784ae40bac76db4651d5d9 (patch)
tree726222bd6eca51886b00faa128e97afbe667bf8a /riscos/htmlredraw.c
parent8b0aaef01d786375543c7439a66a6ab58162fc5c (diff)
downloadnetsurf-b7bb766e95a3ffb552784ae40bac76db4651d5d9.tar.gz
netsurf-b7bb766e95a3ffb552784ae40bac76db4651d5d9.tar.bz2
[project @ 2004-07-16 19:47:02 by rjw]
Fix for hotlist menu selection. Interface for MNG/JNG display. svn path=/import/netsurf/; revision=1083
Diffstat (limited to 'riscos/htmlredraw.c')
-rw-r--r--riscos/htmlredraw.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/riscos/htmlredraw.c b/riscos/htmlredraw.c
index dbe27b372..2c4da8a28 100644
--- a/riscos/htmlredraw.c
+++ b/riscos/htmlredraw.c
@@ -739,6 +739,15 @@ void html_redraw_background(long xi, long yi, int width, int height,
tinct_options);
break;
#endif
+#ifdef WITH_PNG
+ case CONTENT_JNG:
+ case CONTENT_MNG:
+ _swix(Tinct_PlotScaledAlpha, _IN(2) | _IN(3) | _IN(4) | _IN(5) | _IN(6) | _IN(7),
+ ((char*) box->background->data.mng.sprite_area + box->background->data.mng.sprite_area->first),
+ x, y - image_height, image_width, image_height,
+ tinct_options);
+ break;
+#endif
#ifdef WITH_JPEG
case CONTENT_JPEG:
_swix(Tinct_PlotScaled, _IN(2) | _IN(3) | _IN(4) | _IN(5) | _IN(6) | _IN(7),