From 3371a27391e828c6417e6d805572cf261b138785 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Fri, 3 Sep 2004 22:44:48 +0000 Subject: [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 --- riscos/htmlredraw.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'riscos/htmlredraw.c') 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: -- cgit v1.2.3