X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/676d1feebedb6b04b4da4bb58b3ca1282d7740f5..7a218424c6a92eb4979564a7260f862edd46052d:/ITTextField.m diff --git a/ITTextField.m b/ITTextField.m old mode 100755 new mode 100644 index 3ccab70..841d6c8 --- a/ITTextField.m +++ b/ITTextField.m @@ -1,109 +1,72 @@ #import "ITTextField.h" #import "ITTextFieldCell.h" -#import -#import "ITCoreGraphicsHacks.h" - - -/*************************************************************************/ -#pragma mark - -#pragma mark IMPLEMENTATION -/*************************************************************************/ @implementation ITTextField - -/*************************************************************************/ -#pragma mark - -#pragma mark INITIALIZATION METHODS -/*************************************************************************/ - -+ (void)initialize -{ - if ( self == [ITTextField class] ) { - [self setCellClass:[ITTextFieldCell class]]; - } ++ (void)initialize { + if (self == [ITTextField class]) { + [self setCellClass:[ITTextFieldCell class]]; + } } -+ (Class)cellClass -{ - return [ITTextFieldCell class]; ++ (Class)cellClass { + return [ITTextFieldCell class]; } - -/*************************************************************************/ -#pragma mark - -#pragma mark ACCESSOR METHODS -/*************************************************************************/ - -- (BOOL)castsShadow; -{ - return [[self cell] castsShadow]; +- (BOOL)castsShadow { + return [[self cell] castsShadow]; } -- (void)setCastsShadow:(BOOL)newSetting; -{ - [[self cell] setCastsShadow:newSetting]; +- (void)setCastsShadow:(BOOL)newSetting { + [[self cell] setCastsShadow:newSetting]; } -- (float)shadowElevation; -{ - return [[self cell] shadowElevation]; +- (float)shadowElevation { + return [[self cell] shadowElevation]; } -- (void)setShadowElevation:(float)newElevation; -{ - [[self cell] setShadowElevation:newElevation]; +- (void)setShadowElevation:(float)newElevation { + [[self cell] setShadowElevation:newElevation]; } -- (float)shadowAzimuth; -{ - return [[self cell] shadowAzimuth]; +- (float)shadowAzimuth { + return [[self cell] shadowAzimuth]; } -- (void)setShadowAzimuth:(float)newAzimuth; -{ - [[self cell] setShadowAzimuth:newAzimuth]; +- (void)setShadowAzimuth:(float)newAzimuth { + [[self cell] setShadowAzimuth:newAzimuth]; } -- (float)shadowAmbient; -{ - return [[self cell] shadowAmbient]; +- (float)shadowAmbient { + return [[self cell] shadowAmbient]; } -- (void)setShadowAmbient:(float)newAmbient; -{ - [[self cell] setShadowAmbient:newAmbient]; +- (void)setShadowAmbient:(float)newAmbient { + [[self cell] setShadowAmbient:newAmbient]; } -- (float)shadowHeight; -{ - return [[self cell] shadowHeight]; +- (float)shadowHeight { + return [[self cell] shadowHeight]; } -- (void)setShadowHeight:(float)newHeight; -{ - [[self cell] setShadowHeight:newHeight]; +- (void)setShadowHeight:(float)newHeight { + [[self cell] setShadowHeight:newHeight]; } -- (float)shadowRadius; -{ - return [[self cell] shadowRadius]; +- (float)shadowRadius { + return [[self cell] shadowRadius]; } -- (void)setShadowRadius:(float)newRadius; -{ - [[self cell] setShadowRadius:newRadius]; +- (void)setShadowRadius:(float)newRadius { + [[self cell] setShadowRadius:newRadius]; } -- (float)shadowSaturation; -{ - return [[self cell] shadowSaturation]; +- (float)shadowSaturation { + return [[self cell] shadowSaturation]; } -- (void)setShadowSaturation:(float)newSaturation; -{ - [[self cell] setShadowSaturation:newSaturation]; +- (void)setShadowSaturation:(float)newSaturation { + [[self cell] setShadowSaturation:newSaturation]; } - -@end +@end \ No newline at end of file