summaryrefslogtreecommitdiffstats
path: root/win/tkWinDraw.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-02-26 02:47:03 (GMT)
committerhobbs <hobbs>2003-02-26 02:47:03 (GMT)
commit068b4d37aa8b1004f70c6ed479cd310b291c16f1 (patch)
tree07a34ff2fec532c96eb7d5eb54524c19b49c6e91 /win/tkWinDraw.c
parent545636f30356c3701dab3eac90deaf3a87d88c47 (diff)
downloadtk-068b4d37aa8b1004f70c6ed479cd310b291c16f1.zip
tk-068b4d37aa8b1004f70c6ed479cd310b291c16f1.tar.gz
tk-068b4d37aa8b1004f70c6ed479cd310b291c16f1.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)
Diffstat (limited to 'win/tkWinDraw.c')
-rw-r--r--win/tkWinDraw.c6
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);