diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2002-06-14 13:35:46 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2002-06-14 13:35:46 (GMT) |
commit | 800371951994b2cb1817cf287544ce5db5d1c98c (patch) | |
tree | c4ad54b29f443e940a51b7b0ca0a9c57e5b65adc /unix/tkUnixPort.h | |
parent | f57c1943cc89b76d669b5a80b9fb0a94a600f180 (diff) | |
download | tk-800371951994b2cb1817cf287544ce5db5d1c98c.zip tk-800371951994b2cb1817cf287544ce5db5d1c98c.tar.gz tk-800371951994b2cb1817cf287544ce5db5d1c98c.tar.bz2 |
TIP#98 implementation; improved photo image copy and GIF frame access
Diffstat (limited to 'unix/tkUnixPort.h')
-rw-r--r-- | unix/tkUnixPort.h | 4 |
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) |