aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-08-03 00:51:11 +0000
committerrowanbeentje <rowan@beent.je>2012-08-03 00:51:11 +0000
commite00a999ae88539d3fa2de4363c1c955002cb2b61 (patch)
tree061698706695790228f06db6283ff3a2f8a6baa8 /Source
parentb56622b7471907f6c0a09bc67a19c0ea031df23a (diff)
downloadsequelpro-e00a999ae88539d3fa2de4363c1c955002cb2b61.tar.gz
sequelpro-e00a999ae88539d3fa2de4363c1c955002cb2b61.tar.bz2
sequelpro-e00a999ae88539d3fa2de4363c1c955002cb2b61.zip
- 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.
Diffstat (limited to 'Source')
-rw-r--r--Source/BGHUDButtonCell.m48
-rw-r--r--Source/SPConnectionController.h10
-rw-r--r--Source/SPCustomQuery.m4
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;