diff options
author | hobbs <hobbs@noemail.net> | 2003-02-26 02:47:02 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2003-02-26 02:47:02 (GMT) |
commit | de75ebcebf4f532bf6bd455cbb5ab8788813d2a0 (patch) | |
tree | 07a34ff2fec532c96eb7d5eb54524c19b49c6e91 /win/tkWinDraw.c | |
parent | eae2978277d3a14de93626ddc38282d361212369 (diff) | |
download | tk-de75ebcebf4f532bf6bd455cbb5ab8788813d2a0.zip tk-de75ebcebf4f532bf6bd455cbb5ab8788813d2a0.tar.gz tk-de75ebcebf4f532bf6bd455cbb5ab8788813d2a0.tar.bz2 |
* win/tkWinInt.h:
* win/tkWinDraw.c:
* win/tkWinFont.c (Tk_DrawChars): add support for simple XOR text
drawing on Windows. [Patch #685388] (martin)
FossilOrigin-Name: e9b026f7cef7dc4a2ab3270e627f278c94b131fd
Diffstat (limited to 'win/tkWinDraw.c')
-rw-r--r-- | win/tkWinDraw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinDraw.c b/win/tkWinDraw.c index 27ce4ca..39a3d9c 100644 --- a/win/tkWinDraw.c +++ b/win/tkWinDraw.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinDraw.c,v 1.11 2001/12/07 05:20:52 chengyemao Exp $ + * RCS: @(#) $Id: tkWinDraw.c,v 1.12 2003/02/26 02:47:04 hobbs Exp $ */ #include "tkWinInt.h" @@ -57,7 +57,7 @@ int tkpWinRopModes[] = { #define SRCORREVERSE (DWORD)0x00DD0228 /* dest = source OR (NOT dest) */ #define SRCNAND (DWORD)0x007700E6 /* dest = NOT (source AND dest) */ -static int bltModes[] = { +int tkpWinBltModes[] = { BLACKNESS, /* GXclear */ SRCAND, /* GXand */ SRCERASE, /* GXandReverse */ @@ -328,7 +328,7 @@ XCopyArea(display, src, dest, gc, src_x, src_y, width, height, dest_x, dest_y) } BitBlt(destDC, dest_x, dest_y, width, height, srcDC, src_x, src_y, - bltModes[gc->function]); + tkpWinBltModes[gc->function]); SelectClipRgn(destDC, NULL); |