Mercurial > emacs
changeset 48352:9fde360ca455
(x_draw_image_foreground)
(w32_draw_image_foreground_1): Use standard copy and invert
operations to draw images.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Fri, 15 Nov 2002 23:33:34 +0000 |
parents | 6420af8e1ad8 |
children | ff80b8cbbc9a |
files | src/w32term.c |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32term.c Fri Nov 15 23:29:20 2002 +0000 +++ b/src/w32term.c Fri Nov 15 23:33:34 2002 +0000 @@ -3905,11 +3905,11 @@ SetBkColor (s->hdc, RGB (0, 0, 0)); BitBlt (s->hdc, x, y, s->img->width, s->img->height, - compat_hdc, 0, 0, 0x990066); + compat_hdc, 0, 0, SRCINVERT); BitBlt (s->hdc, x, y, s->img->width, s->img->height, mask_dc, 0, 0, SRCAND); BitBlt (s->hdc, x, y, s->img->width, s->img->height, - compat_hdc, 0, 0, 0x990066); + compat_hdc, 0, 0, SRCINVERT); SelectObject (mask_dc, mask_orig_obj); DeleteDC (mask_dc); @@ -3920,8 +3920,7 @@ SetBkColor (s->hdc, s->gc->background); BitBlt (s->hdc, x, y, s->img->width, s->img->height, - compat_hdc, 0, 0, NOTSRCCOPY); - /* Meadow uses 0xE20746, previously SRCCOPY and 0xB8074A. */ + compat_hdc, 0, 0, SRCCOPY); /* When the image has a mask, we can expect that at least part of a mouse highlight or a block cursor will @@ -4055,7 +4054,7 @@ SetBkColor (hdc, s->gc->background); BitBlt (hdc, x, y, s->img->width, s->img->height, - compat_hdc, 0, 0, NOTSRCCOPY); + compat_hdc, 0, 0, SRCCOPY); /* When the image has a mask, we can expect that at least part of a mouse highlight or a block cursor will