Source

BWToolkit / NSImage+BWAdditions.m

Diff from to

File NSImage+BWAdditions.m

 
 // Draw a solid color over an image - taking into account alpha. Useful for coloring template images.
 
-- (NSImage *)tintedImageWithColor:(NSColor *)tint 
+- (NSImage *)bwTintedImageWithColor:(NSColor *)tint 
 {
 	NSSize size = [self size];
 	NSRect imageBounds = NSMakeRect(0, 0, size.width, size.height);    
 // Rotate an image 90 degrees clockwise or counterclockwise
 // Code from http://swik.net/User:marc/Chipmunk+Ninja+Technical+Articles/Rotating+an+NSImage+object+in+Cocoa/zgha
 
-- (NSImage *)rotateImage90DegreesClockwise:(BOOL)clockwise
+- (NSImage *)bwRotateImage90DegreesClockwise:(BOOL)clockwise
 {
     NSImage *existingImage = self;
     NSSize existingSize;