2 #import "ITButtonCell.h"
4 @implementation ITButton
7 if (self == [ITButton class]) {
8 [self setCellClass:[ITButtonCell class]];
13 return [ITButtonCell class];
16 - (void)displayIfNeeded {
17 [super displayIfNeededIgnoringOpacity];
20 - (void)displayIfNeededInRect:(NSRect)aRect {
21 [super displayIfNeededInRectIgnoringOpacity:aRect];
24 - (void)displayRect:(NSRect)aRect {
25 [super displayRectIgnoringOpacity:aRect];
28 - (id)initWithCoder:(NSCoder *)coder {
29 if ((self = [super initWithCoder:coder])) {
30 ITButtonCell *cell = [[ITButtonCell alloc] init];