diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/BGHUDButtonCell.m | 48 | ||||
-rw-r--r-- | Source/SPConnectionController.h | 10 | ||||
-rw-r--r-- | Source/SPCustomQuery.m | 4 |
3 files changed, 24 insertions, 38 deletions
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 <SPMySQLConnectionDelegate> { id <SPConnectionControllerDelegateProtocol, NSObject> 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 <pthread.h> #import <SPMySQL/SPMySQL.h> -#ifndef SP_REFACTOR /* headers */ -#import <BWToolkitFramework/BWToolkitFramework.h> -#endif - @interface SPCustomQuery (PrivateAPI) - (id)_resultDataItemAtRow:(NSInteger)row columnIndex:(NSUInteger)column; |