if ( _subStyle == ITGrayRoundedBezelStyle ) {
[self drawGrayRoundedBezelWithFrame:rect inView:controlView];
[super drawInteriorWithFrame:rect inView:controlView];
+ [[controlView superview] setNeedsDisplay:YES];
} else {
[super drawWithFrame:rect inView:controlView];
}
if ( [self isHighlighted] ) {
alpha = 0.50;
}
-
+
[[NSColor colorWithCalibratedWhite:0.0 alpha:alpha] set];
[path fill];
}
+- (BOOL)isOpaque
+{
+ return NO;
+}
@end