[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More enhancements to fringe bitmaps.

From: Harald Maier
Subject: Re: More enhancements to fringe bitmaps.
Date: Mon, 09 Feb 2004 21:09:32 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Jason Rumney <address@hidden> writes:

> Kim F. Storm wrote:
>>>In mac, the easiest way to do this would be to use the "srcOr"
>>>bitmap transfer mode (draw only foreground), instead of the
>>>"srcCopy" mode (draw both foreground and background).
>>Thanks for the advise and patch.  So the mac support should be done
> I will hopefully get some time to look at this this week, but if
> someone else wants to try, the equivalent for w32 is probably
> something like what is done in x_draw_image_foreground() in
> w32term.c, or what is done in the BitBlt calls in w32bdf.c is
> probably sufficient for monochrome bitmaps.

On W32 emacs fails to build with mingw, but it looks it's true too for
nmake because the fringe.o file is missing in makefile.w32-in. In
w32term.c there is a small typo. Here the two only modification to the
files so that it builds again.

Index: w32term.c
RCS file: /cvsroot/emacs/emacs/src/w32term.c,v
retrieving revision 1.202
diff -r1.202 w32term.c
<   if (p->bx >= 0 !p->overlay_p)
>   if (p->bx >= 0 && !p->overlay_p)

Index: makefile.w32-in
RCS file: /cvsroot/emacs/emacs/src/makefile.w32-in,v
retrieving revision 1.27
diff -r1.27 makefile.w32-in
>         $(BLD)/fringe.$(O)                    \


reply via email to

[Prev in Thread] Current Thread [Next in Thread]