diff options
author | Kevin Walzer <kw@codebykevin.com> | 2014-07-07 01:09:27 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2014-07-07 01:09:27 (GMT) |
commit | df83d667f620123b4aee3c99d8842189de3db737 (patch) | |
tree | 56910006a0e3aefe31055372ebc1ac43312e5095 /macosx/tkMacOSXPrivate.h | |
parent | 1d58f0d143fb94eeaf0dbd0ddc36011423356d88 (diff) | |
download | tk-df83d667f620123b4aee3c99d8842189de3db737.zip tk-df83d667f620123b4aee3c99d8842189de3db737.tar.gz tk-df83d667f620123b4aee3c99d8842189de3db737.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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/tkMacOSXPrivate.h b/macosx/tkMacOSXPrivate.h index 034c450..412d135 100644 --- a/macosx/tkMacOSXPrivate.h +++ b/macosx/tkMacOSXPrivate.h @@ -230,6 +230,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( |