diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-02 14:01:23 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-02 14:01:23 (GMT) |
commit | 066d6dcb874a4f9bae3ba8f4d8fd54e460413e88 (patch) | |
tree | 8a26c22170fa19e9ffbbcab908adf4ffc26e067c /macosx/tkMacOSXDraw.c | |
parent | 8952ee7ee1dc5bbc401ee01f356e3b8ff4a170a3 (diff) | |
download | tk-066d6dcb874a4f9bae3ba8f4d8fd54e460413e88.zip tk-066d6dcb874a4f9bae3ba8f4d8fd54e460413e88.tar.gz tk-066d6dcb874a4f9bae3ba8f4d8fd54e460413e88.tar.bz2 |
Rename (internal) TkMacOSXDrawableView() -> TkMacOSXGetNSViewForDrawable()
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r-- | macosx/tkMacOSXDraw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c index 1c77af3..06d1810 100644 --- a/macosx/tkMacOSXDraw.c +++ b/macosx/tkMacOSXDraw.c @@ -1140,7 +1140,7 @@ TkScrollWindow( { Drawable drawable = Tk_WindowId(tkwin); MacDrawable *macDraw = (MacDrawable *)drawable; - TKContentView *view = TkMacOSXDrawableView(macDraw); + TKContentView *view = (TKContentView *)TkMacOSXGetNSViewForDrawable(macDraw); CGRect srcRect, dstRect; HIShapeRef dmgRgn = NULL, extraRgn = NULL; NSRect bounds, visRect, scrollSrc, scrollDst; @@ -1271,7 +1271,7 @@ TkMacOSXSetupDrawingContext( */ if (!(macDraw->flags & TK_IS_PIXMAP)) { - view = TkMacOSXDrawableView(d); + view = (TKContentView *)TkMacOSXGetNSViewForDrawable(d); if (!view) { Tcl_Panic("TkMacOSXSetupDrawingContext(): " "no NSView to draw into !"); @@ -1523,7 +1523,7 @@ TkMacOSXGetClipRgn( #ifdef TK_MAC_DEBUG_DRAWING TkMacOSXDbgMsg("%s", macDraw->winPtr->pathName); - NSView *view = TkMacOSXDrawableView(macDraw); + NSView *view = TkMacOSXGetNSViewForDrawable(macDraw); CGContextRef context = GET_CGCONTEXT; CGContextSaveGState(context); |