dead code removal

This commit is contained in:
Mitchell Livingston 2008-05-27 04:26:09 +00:00
parent a24eabaa24
commit 88dd8ef23e
2 changed files with 0 additions and 33 deletions

View File

@ -35,5 +35,4 @@
+ (CTGradient *)progressDarkGreenGradient;
+ (CTGradient *)progressRedGradient;
+ (CTGradient *)progressYellowGradient;
+ (CTGradient *)progressTransparentGradient;
@end

View File

@ -398,36 +398,4 @@
return [newInstance autorelease];
}
+ (CTGradient *)progressTransparentGradient
{
CTGradient *newInstance = [[[self class] alloc] init];
CTGradientElement color1;
color1.red = color1.green = color1.blue = 1.0;
color1.alpha = 0.65;
color1.position = 0;
CTGradientElement color2;
color2.red = color2.green = color2.blue = 1.0;
color2.alpha = 0.05;
color2.position = 0.5;
CTGradientElement color3;
color3.red = color3.green = color3.blue = 1.0;
color3.alpha = 0.4;
color3.position = 0.5;
CTGradientElement color4;
color4.red = color4.green = color4.blue = 1.0;
color4.alpha = 0.4;
color4.position = 1;
[newInstance addElement:&color1];
[newInstance addElement:&color2];
[newInstance addElement:&color3];
[newInstance addElement:&color4];
return [newInstance autorelease];
}
@end