aboutsummaryrefslogtreecommitdiffstats
path: root/Source/BGHUDButtonCell.m
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/BGHUDButtonCell.m
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/BGHUDButtonCell.m')
-rw-r--r--Source/BGHUDButtonCell.m48
1 files changed, 24 insertions, 24 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];