2 #import "ITButtonCell.h"
5 @implementation ITButton
8 /*************************************************************************/
10 #pragma mark INITIALIZATION METHODS
11 /*************************************************************************/
15 if ( self == [ITButton class] ) {
16 [self setCellClass:[ITButtonCell class]];
22 return [ITButtonCell class];
25 - (void)displayIfNeeded {
26 [super displayIfNeededIgnoringOpacity];
29 - (void)displayIfNeededInRect:(NSRect)aRect {
30 [super displayIfNeededInRectIgnoringOpacity:aRect];
33 - (void)displayRect:(NSRect)aRect {
34 [super displayRectIgnoringOpacity:aRect];
37 - (id)initWithCoder:(NSCoder *)coder
39 if ( ( self = [super initWithCoder:coder] ) ) {
40 ITButtonCell *cell = [[ITButtonCell alloc] init];