miscellaneous adjustments

This commit is contained in:
Mitchell Livingston
2007-12-04 16:47:00 +00:00
parent 06743cb430
commit 963d736dce
5 changed files with 11 additions and 24 deletions

View File

@@ -91,9 +91,9 @@
fBadge = [fBackBadge copy];
NSSize badgeSize = [fBadge size];
//place icon
[fBadge lockFocus];
const float WIDTH = 64.0;
//place icon
[icon drawInRect: NSMakeRect(PADDING, (badgeSize.height - ICON_WIDTH) * 0.5, ICON_WIDTH, ICON_WIDTH) fromRect: NSZeroRect
operation: NSCompositeSourceOver fraction: 1.0];