summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2002-06-14 13:35:46 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2002-06-14 13:35:46 (GMT)
commit4c372e0c2422c6fedf00b5c9288d392f5a21444a (patch)
treec4ad54b29f443e940a51b7b0ca0a9c57e5b65adc /unix/tkUnixPort.h
parent9e63c2ab855bd66e2bf4db1fe404f579f4c1fbd5 (diff)
downloadtk-4c372e0c2422c6fedf00b5c9288d392f5a21444a.zip
tk-4c372e0c2422c6fedf00b5c9288d392f5a21444a.tar.gz
tk-4c372e0c2422c6fedf00b5c9288d392f5a21444a.tar.bz2
TIP#98 implementation; improved photo image copy and GIF frame access
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)