From e00a999ae88539d3fa2de4363c1c955002cb2b61 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Fri, 3 Aug 2012 00:51:11 +0000 Subject: - Remove BWToolKit from the project, using ibtool to strip out plugin dependencies now that all BW custom elements have been removed; remove last references and build steps. --- Source/BGHUDButtonCell.m | 48 ++++++++++++++++++++--------------------- Source/SPConnectionController.h | 10 --------- Source/SPCustomQuery.m | 4 ---- 3 files changed, 24 insertions(+), 38 deletions(-) (limited to 'Source') diff --git a/Source/BGHUDButtonCell.m b/Source/BGHUDButtonCell.m index 2a80be59..329af84e 100644 --- a/Source/BGHUDButtonCell.m +++ b/Source/BGHUDButtonCell.m @@ -354,13 +354,13 @@ [NSGraphicsContext saveGraphicsState]; if([self isEnabled]) { - NSShadow *shadow = [[NSShadow alloc] init]; - [shadow setShadowColor: [NSColor blackColor]]; - [shadow setShadowBlurRadius: 2]; - [shadow setShadowOffset: NSMakeSize( 0, -1)]; + NSShadow *dropShadow = [[NSShadow alloc] init]; + [dropShadow setShadowColor: [NSColor blackColor]]; + [dropShadow setShadowBlurRadius: 2]; + [dropShadow setShadowOffset: NSMakeSize( 0, -1)]; - [shadow set]; - [shadow release]; + [dropShadow set]; + [dropShadow release]; } //Draw Dark Border @@ -490,13 +490,13 @@ //Draw dark border color if([self isEnabled]) { - NSShadow *shadow = [[NSShadow alloc] init]; - [shadow setShadowColor: [NSColor blackColor]]; - [shadow setShadowBlurRadius: 2]; - [shadow setShadowOffset: NSMakeSize( 0, -1)]; + NSShadow *dropShadow = [[NSShadow alloc] init]; + [dropShadow setShadowColor: [NSColor blackColor]]; + [dropShadow setShadowBlurRadius: 2]; + [dropShadow setShadowOffset: NSMakeSize( 0, -1)]; - [shadow set]; - [shadow release]; + [dropShadow set]; + [dropShadow release]; } [[NSColor colorWithDeviceRed: 0.141f green: 0.141f blue: 0.141f alpha: 0.5f] set]; [path stroke]; @@ -590,13 +590,13 @@ [NSGraphicsContext saveGraphicsState]; if([self isEnabled]) { - NSShadow *shadow = [[NSShadow alloc] init]; - [shadow setShadowColor: [NSColor blackColor]]; - [shadow setShadowBlurRadius: 2]; - [shadow setShadowOffset: NSMakeSize( 0, -1)]; + NSShadow *dropShadow = [[NSShadow alloc] init]; + [dropShadow setShadowColor: [NSColor blackColor]]; + [dropShadow setShadowBlurRadius: 2]; + [dropShadow setShadowOffset: NSMakeSize( 0, -1)]; - [shadow set]; - [shadow release]; + [dropShadow set]; + [dropShadow release]; } [[NSColor colorWithDeviceRed: 0.141f green: 0.141f blue: 0.141f alpha: 0.5f] set]; @@ -933,13 +933,13 @@ //Draw Shadow if([self isEnabled]) { - NSShadow *shadow = [[NSShadow alloc] init]; - [shadow setShadowColor: [NSColor blackColor]]; - [shadow setShadowBlurRadius: 2]; - [shadow setShadowOffset: NSMakeSize( 0, -1)]; + NSShadow *dropShadow = [[NSShadow alloc] init]; + [dropShadow setShadowColor: [NSColor blackColor]]; + [dropShadow setShadowBlurRadius: 2]; + [dropShadow setShadowOffset: NSMakeSize( 0, -1)]; - [shadow set]; - [shadow release]; + [dropShadow set]; + [dropShadow release]; } [[NSColor colorWithDeviceRed: 0.141f green: 0.141f blue: 0.141f alpha: 0.5f] set]; [path stroke]; diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h index 07899f5d..de517fdf 100644 --- a/Source/SPConnectionController.h +++ b/Source/SPConnectionController.h @@ -46,16 +46,6 @@ #endif ; -#ifndef SP_REFACTOR /* class decl */ - -@interface NSObject (BWAnchoredButtonBar) - -- (NSRect)splitView:(NSSplitView *)splitView additionalEffectiveRectOfDividerAtIndex:(NSInteger)dividerIndex; - -@end - -#endif - @interface SPConnectionController : NSViewController { id delegate; diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index ef4faa17..5f8847b7 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -65,10 +65,6 @@ #import #import -#ifndef SP_REFACTOR /* headers */ -#import -#endif - @interface SPCustomQuery (PrivateAPI) - (id)_resultDataItemAtRow:(NSInteger)row columnIndex:(NSUInteger)column; -- cgit v1.2.3