# HG changeset patch # User Gerd Moellmann # Date 1004022030 0 # Node ID 796a5f21ff84919a20c21c2ae98948f71b5e78b7 # Parent f4cf12231193e442ab9ef684fd6e54538c88597d *** empty log message *** diff -r f4cf12231193 -r 796a5f21ff84 src/ChangeLog --- a/src/ChangeLog Thu Oct 25 13:33:01 2001 +0000 +++ b/src/ChangeLog Thu Oct 25 15:00:30 2001 +0000 @@ -39,6 +39,7 @@ `background_valid', and `background_transparent' fields. (image_background, image_background_transparent): New declarations. (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros. + * xfns.c (image_background, image_background_transparent) (four_corners_best): New functions. (xpm_format, png_format, jpeg_format, tiff_format, gif_format) @@ -58,6 +59,7 @@ (enum gs_keyword_index): Add GS_BACKGROUND. (pbm_load, png_load, jpeg_load, tiff_load, gif_load): Pre-calculate image background color where necessary. + * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background color to use for image glyph reliefs.