summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-26 11:41:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-26 11:41:17 (GMT)
commit45fa85f33f94e501ba96c550861e298df9a8a6ad (patch)
treec442506115268ee64927b74f44c80ef24c673388 /unix/tkUnixPort.h
parent021238ae28d80332aca5ce297082885bf0e798d5 (diff)
parent6953f9dc57f63fe39701cd4e62ad03259e36c371 (diff)
downloadtk-45fa85f33f94e501ba96c550861e298df9a8a6ad.zip
tk-45fa85f33f94e501ba96c550861e298df9a8a6ad.tar.gz
tk-45fa85f33f94e501ba96c550861e298df9a8a6ad.tar.bz2
[Bug 3508771]: Implement TkClipBox, Tk*Region and Tk_GetHINSTANCE for Cygwin
Diffstat (limited to 'unix/tkUnixPort.h')
-rw-r--r--unix/tkUnixPort.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index 64589be..0076e5d 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -114,22 +114,6 @@
#endif
/*
- * These macros are just wrappers for the equivalent X Region calls.
- */
-
-#define TkClipBox(rgn, rect) XClipBox((Region) rgn, rect)
-#define TkCreateRegion() (TkRegion) XCreateRegion()
-#define TkDestroyRegion(rgn) XDestroyRegion((Region) rgn)
-#define TkIntersectRegion(a, b, r) XIntersectRegion((Region) a, \
- (Region) b, (Region) r)
-#define TkRectInRegion(r, x, y, w, h) XRectInRegion((Region) r, x, y, w, h)
-#define TkSetRegion(d, gc, rgn) XSetRegion(d, gc, (Region) rgn)
-#define TkSubtractRegion(a, b, r) XSubtractRegion((Region) a, \
- (Region) b, (Region) r)
-#define TkUnionRectWithRegion(rect, src, ret) XUnionRectWithRegion(rect, \
- (Region) src, (Region) ret)
-
-/*
* The TkPutImage macro strips off the color table information, which isn't
* needed for X.
*/