summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.c
diff options
context:
space:
mode:
authorculler <culler>2021-04-22 17:07:28 (GMT)
committerculler <culler>2021-04-22 17:07:28 (GMT)
commit019923f12e5ac43053840de0701390146ae57907 (patch)
tree062dab0df9da68356ef83a19f89394751ccdc920 /macosx/ttkMacOSXTheme.c
parent66304f744b14ffc5eb42724284c279e91de9444d (diff)
downloadtk-019923f12e5ac43053840de0701390146ae57907.zip
tk-019923f12e5ac43053840de0701390146ae57907.tar.gz
tk-019923f12e5ac43053840de0701390146ae57907.tar.bz2
Remove unneeded portBounds field from TkMacOSXDrawingContext; add more graphics debugging tools.
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r--macosx/ttkMacOSXTheme.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c
index 8379812..6b1aff6 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -555,6 +555,8 @@ static void SolidFillRoundedRectangle(
CGContextSetFillColorWithColor(context, CGCOLOR(color));
CGContextBeginPath(context);
CGContextAddPath(context, path);
+ fprintf(stderr, "Filling rounded rectangle at %s\n",
+ NSStringFromRect(bounds).UTF8String);
CGContextFillPath(context);
CFRelease(path);
}