summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXPort.h
diff options
context:
space:
mode:
authorculler <culler>2020-08-22 19:16:02 (GMT)
committerculler <culler>2020-08-22 19:16:02 (GMT)
commitee6cc4ea5ad64d240ca940371ec26787ee2bbdb5 (patch)
tree8b1aa05548390ebe0e4c1e27f5296b591f7f353b /macosx/tkMacOSXPort.h
parentfaecc793509c834b9b7562b4d549d80585ead2d9 (diff)
downloadtk-ee6cc4ea5ad64d240ca940371ec26787ee2bbdb5.zip
tk-ee6cc4ea5ad64d240ca940371ec26787ee2bbdb5.tar.gz
tk-ee6cc4ea5ad64d240ca940371ec26787ee2bbdb5.tar.bz2
Remove all use of XImage.pixelpower, but not the field, simplify and reorganize.
Diffstat (limited to 'macosx/tkMacOSXPort.h')
-rw-r--r--macosx/tkMacOSXPort.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/macosx/tkMacOSXPort.h b/macosx/tkMacOSXPort.h
index 4347766..ba47566 100644
--- a/macosx/tkMacOSXPort.h
+++ b/macosx/tkMacOSXPort.h
@@ -163,6 +163,13 @@
#define TK_DYNAMIC_COLORMAP 0x0fffffff
/*
+ * Inform tkImgPhInstance.c that our tkPutImage can render an image with an
+ * alpha channel directly into a window.
+ */
+
+#define TKPUTIMAGE_CAN_BLEND
+
+/*
* Used by xcolor.c
*/