summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2002-06-14 13:35:46 (GMT)
committerdkf <dkf@noemail.net>2002-06-14 13:35:46 (GMT)
commit37dad6009a6a0a0a94daf1c22e5c4a08d783fc2a (patch)
treec4ad54b29f443e940a51b7b0ca0a9c57e5b65adc /unix/tkUnixPort.h
parentb4c5516caec4694bb80034cfd1c8f50517eb4149 (diff)
downloadtk-37dad6009a6a0a0a94daf1c22e5c4a08d783fc2a.zip
tk-37dad6009a6a0a0a94daf1c22e5c4a08d783fc2a.tar.gz
tk-37dad6009a6a0a0a94daf1c22e5c4a08d783fc2a.tar.bz2
TIP#98 implementation; improved photo image copy and GIF frame access
FossilOrigin-Name: 7084752cc1be137e6ef4ba7d6d4bf201c05a6f32
Diffstat (limited to 'unix/tkUnixPort.h')
-rw-r--r--unix/tkUnixPort.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index 6e51fe7..dbde1f2 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixPort.h,v 1.7 2001/09/25 16:25:20 dgp Exp $
+ * RCS: @(#) $Id: tkUnixPort.h,v 1.8 2002/06/14 13:35:49 dkf Exp $
*/
#ifndef _UNIXPORT
@@ -145,6 +145,8 @@ extern int errno;
(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)