summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXPrivate.h
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2014-07-07 01:09:51 (GMT)
committerKevin Walzer <kw@codebykevin.com>2014-07-07 01:09:51 (GMT)
commitebb86189711b94dc78250d22f896bb121a849720 (patch)
treeb41fba832aebc0baaa0d265cf13812d9af51abf9 /macosx/tkMacOSXPrivate.h
parent3b641c87437e0c46c5d0044fb7d8776cb0a7057e (diff)
downloadtk-ebb86189711b94dc78250d22f896bb121a849720.zip
tk-ebb86189711b94dc78250d22f896bb121a849720.tar.gz
tk-ebb86189711b94dc78250d22f896bb121a849720.tar.bz2
Fix for alpha channel rendering for images on OS X Mavericks; thanks to Marc Culler for the extensive patch.
Diffstat (limited to 'macosx/tkMacOSXPrivate.h')
-rw-r--r--macosx/tkMacOSXPrivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/tkMacOSXPrivate.h b/macosx/tkMacOSXPrivate.h
index 3ad0689..b4e510f 100644
--- a/macosx/tkMacOSXPrivate.h
+++ b/macosx/tkMacOSXPrivate.h
@@ -228,6 +228,8 @@ MODULE_SCOPE WindowClass TkMacOSXWindowClass(TkWindow *winPtr);
MODULE_SCOPE int TkMacOSXIsWindowZoomed(TkWindow *winPtr);
MODULE_SCOPE int TkGenerateButtonEventForXPointer(Window window);
MODULE_SCOPE EventModifiers TkMacOSXModifierState(void);
+MODULE_SCOPE NSBitmapImageRep* BitmapRepFromDrawableRect(Drawable drawable,
+ int x, int y, unsigned int width, unsigned int height);
MODULE_SCOPE int TkMacOSXSetupDrawingContext(Drawable d, GC gc,
int useCG, TkMacOSXDrawingContext *dcPtr);
MODULE_SCOPE void TkMacOSXRestoreDrawingContext(