summaryrefslogtreecommitdiff
path: root/riscos/htmlredraw.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-09-03 22:44:48 +0000
committerJames Bursa <james@netsurf-browser.org>2004-09-03 22:44:48 +0000
commit3371a27391e828c6417e6d805572cf261b138785 (patch)
treef016defaa63ffc6e78e95d607cda00246df83206 /riscos/htmlredraw.c
parentfb5082605cc100b493717bce25cb6bf6123e03d0 (diff)
downloadnetsurf-3371a27391e828c6417e6d805572cf261b138785.tar.gz
netsurf-3371a27391e828c6417e6d805572cf261b138785.tar.bz2
[project @ 2004-09-03 22:44:47 by bursa]
Add generic bitmap functions. Move jpeg and mng code from riscos/ to image/ and update to use bitmap. Note: background tiling and drawfile export for jpeg and mng/png are broken. svn path=/import/netsurf/; revision=1265
Diffstat (limited to 'riscos/htmlredraw.c')
-rw-r--r--riscos/htmlredraw.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/riscos/htmlredraw.c b/riscos/htmlredraw.c
index 2a29d8eca..20d50fb5f 100644
--- a/riscos/htmlredraw.c
+++ b/riscos/htmlredraw.c
@@ -1010,30 +1010,30 @@ bool html_redraw_background(int xi, int yi, int width, int height,
/* and plot the image */
switch (box->background->type) {
#ifdef WITH_PNG
- case CONTENT_PNG:
+ case CONTENT_PNG:/*
image_redraw(box->background->data.png.sprite_area,
x, y, image_width, image_height,
box->background->width * 2,
box->background->height * 2,
background_colour,
repeat_x, repeat_y,
- IMAGE_PLOT_TINCT_ALPHA);
- break;
+ IMAGE_PLOT_TINCT_ALPHA);*/
+ break;
#endif
#ifdef WITH_MNG
case CONTENT_JNG:
case CONTENT_MNG:
- image_redraw(box->background->data.mng.sprite_area,
+ /*image_redraw(box->background->data.mng.sprite_area,
x, y, image_width, image_height,
box->background->width * 2,
box->background->height * 2,
background_colour,
repeat_x, repeat_y,
- IMAGE_PLOT_TINCT_ALPHA);
+ IMAGE_PLOT_TINCT_ALPHA);*/
break;
#endif
#ifdef WITH_JPEG
- case CONTENT_JPEG:
+ case CONTENT_JPEG:/*
image_redraw(box->background->data.jpeg.sprite_area,
x, y, image_width, image_height,
box->background->width * 2,
@@ -1041,7 +1041,7 @@ bool html_redraw_background(int xi, int yi, int width, int height,
background_colour,
repeat_x, repeat_y,
IMAGE_PLOT_TINCT_OPAQUE);
- break;
+ */break;
#endif
#ifdef WITH_GIF
case CONTENT_GIF: