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 [self displayIfNeededIgnoringOpacity];
29 - (void)displayIfNeededInRect:(NSRect)aRect {
30 [self displayIfNeededInRectIgnoringOpacity:aRect];
33 - (void)displayRect:(NSRect)aRect {
34 [self displayRectIgnoringOpacity:aRect];
37 - (id)initWithCoder:(NSCoder *)coder
39 if ( ( self = [super initWithCoder:coder] ) ) {
40 ITButtonCell *cell = [[ITButtonCell alloc] init];