mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
[project @ 2004-10-05 00:22:38 by rjw]
Fixes for missing changes to updated GIF code. svn path=/import/netsurf/; revision=1302
This commit is contained in:
parent
403f12872d
commit
60949d1aee
@ -1018,7 +1018,8 @@ bool html_redraw_background(int xi, int yi, int width, int height,
|
||||
box->background->height * 2,
|
||||
background_colour,
|
||||
repeat_x, repeat_y,
|
||||
IMAGE_PLOT_TINCT_ALPHA);
|
||||
((box->background->bitmap->opaque) ?
|
||||
IMAGE_PLOT_TINCT_OPAQUE : IMAGE_PLOT_TINCT_ALPHA));
|
||||
break;
|
||||
#endif
|
||||
#ifdef WITH_MNG
|
||||
@ -1030,7 +1031,8 @@ bool html_redraw_background(int xi, int yi, int width, int height,
|
||||
box->background->height * 2,
|
||||
background_colour,
|
||||
repeat_x, repeat_y,
|
||||
IMAGE_PLOT_TINCT_ALPHA);
|
||||
((box->background->bitmap->opaque) ?
|
||||
IMAGE_PLOT_TINCT_OPAQUE : IMAGE_PLOT_TINCT_ALPHA));
|
||||
break;
|
||||
#endif
|
||||
#ifdef WITH_JPEG
|
||||
@ -1046,13 +1048,14 @@ bool html_redraw_background(int xi, int yi, int width, int height,
|
||||
#endif
|
||||
#ifdef WITH_GIF
|
||||
case CONTENT_GIF:
|
||||
image_redraw(box->background->data.gif.gif->frame_image,
|
||||
image_redraw(&box->background->bitmap->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);
|
||||
((box->background->bitmap->opaque) ?
|
||||
IMAGE_PLOT_TINCT_OPAQUE : IMAGE_PLOT_TINCT_ALPHA));
|
||||
break;
|
||||
#endif
|
||||
/**\todo Add draw/sprite background support? */
|
||||
|
@ -426,7 +426,6 @@ bool ro_gui_save_complete(struct content *c, char *path)
|
||||
|
||||
void ro_gui_save_object_native(struct content *c, char *path)
|
||||
{
|
||||
os_error *error;
|
||||
|
||||
switch (c->type) {
|
||||
#ifdef WITH_JPEG
|
||||
@ -447,7 +446,7 @@ void ro_gui_save_object_native(struct content *c, char *path)
|
||||
#endif
|
||||
#ifdef WITH_GIF
|
||||
case CONTENT_GIF:
|
||||
error = xosspriteop_save_sprite_file(osspriteop_USER_AREA, c->data.gif.gif->frame_image, path);
|
||||
bitmap_save(c->bitmap, path);
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user