BWToolkit / BWSplitViewInspectorAutosizingButtonCell.m

Diff from to

BWSplitViewInspectorAutosizingButtonCell.m

 	borderColor = [IBColor customViewDarkBorderColor];
 	
 	// Note: These two colors are reversed in IBColor in 10.5
-	if ([NSApplication isOnLeopard])
+	if ([NSApplication bwIsOnLeopard])
 		viewColor = [IBColor containerCustomViewBackgroundColor];
 	else
 		viewColor = [IBColor childlessCustomViewBackgroundColor];
 	[viewColor set];
 	NSRectFillUsingOperation(frame,NSCompositeSourceOver);
 
-	[insetColor drawPixelThickLineAtPosition:1 withInset:0 inRect:frame inView:controlView horizontal:NO flip:NO];
-	[insetColor drawPixelThickLineAtPosition:1 withInset:0 inRect:frame inView:controlView horizontal:NO flip:YES];
-	[insetColor drawPixelThickLineAtPosition:1 withInset:0 inRect:frame inView:controlView horizontal:YES flip:YES];
-	[insetColor drawPixelThickLineAtPosition:1 withInset:0 inRect:frame inView:controlView horizontal:YES flip:NO];
+	[insetColor bwDrawPixelThickLineAtPosition:1 withInset:0 inRect:frame inView:controlView horizontal:NO flip:NO];
+	[insetColor bwDrawPixelThickLineAtPosition:1 withInset:0 inRect:frame inView:controlView horizontal:NO flip:YES];
+	[insetColor bwDrawPixelThickLineAtPosition:1 withInset:0 inRect:frame inView:controlView horizontal:YES flip:YES];
+	[insetColor bwDrawPixelThickLineAtPosition:1 withInset:0 inRect:frame inView:controlView horizontal:YES flip:NO];
 	
-	[borderColor drawPixelThickLineAtPosition:0 withInset:0 inRect:frame inView:controlView horizontal:NO flip:NO];
-	[borderColor drawPixelThickLineAtPosition:0 withInset:0 inRect:frame inView:controlView horizontal:NO flip:YES];
-	[borderColor drawPixelThickLineAtPosition:0 withInset:0 inRect:frame inView:controlView horizontal:YES flip:YES];
-	[borderColor drawPixelThickLineAtPosition:0 withInset:0 inRect:frame inView:controlView horizontal:YES flip:NO];
+	[borderColor bwDrawPixelThickLineAtPosition:0 withInset:0 inRect:frame inView:controlView horizontal:NO flip:NO];
+	[borderColor bwDrawPixelThickLineAtPosition:0 withInset:0 inRect:frame inView:controlView horizontal:NO flip:YES];
+	[borderColor bwDrawPixelThickLineAtPosition:0 withInset:0 inRect:frame inView:controlView horizontal:YES flip:YES];
+	[borderColor bwDrawPixelThickLineAtPosition:0 withInset:0 inRect:frame inView:controlView horizontal:YES flip:NO];
 }
 
 - (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
 	}
 	else
 	{
-		blueArrowStartCap = [blueArrowStart rotateImage90DegreesClockwise:NO];
-		blueArrowEndCap = [blueArrowEnd rotateImage90DegreesClockwise:NO];
-		redArrowStartCap = [redArrowEnd rotateImage90DegreesClockwise:NO];
-		redArrowFillSlice = [redArrowFill rotateImage90DegreesClockwise:NO];
-		redArrowEndCap = [redArrowStart rotateImage90DegreesClockwise:NO];
+		blueArrowStartCap = [blueArrowStart bwRotateImage90DegreesClockwise:NO];
+		blueArrowEndCap = [blueArrowEnd bwRotateImage90DegreesClockwise:NO];
+		redArrowStartCap = [redArrowEnd bwRotateImage90DegreesClockwise:NO];
+		redArrowFillSlice = [redArrowFill bwRotateImage90DegreesClockwise:NO];
+		redArrowEndCap = [redArrowStart bwRotateImage90DegreesClockwise:NO];
 	}
 	
 	float arrowHeight = [blueArrowStartCap size].height;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.