looks and feels like it is, and it even has a kinda nice side effect...
return [ITButtonCell class];
}
+- (void)displayIfNeeded {
+ [self displayIfNeededIgnoringOpacity];
+}
+
+- (void)displayIfNeededInRect:(NSRect)aRect {
+ [self displayIfNeededInRectIgnoringOpacity:aRect];
+}
+
+- (void)displayRect:(NSRect)aRect {
+ [self displayRectIgnoringOpacity:aRect];
+}
+
- (id)initWithCoder:(NSCoder *)coder
{
if ( ( self = [super initWithCoder:coder] ) ) {
if ( [self isHighlighted] ) {
alpha = 0.50;
}
-
+
[[NSColor colorWithCalibratedWhite:0.0 alpha:alpha] set];
[path fill];
}
+- (BOOL)isOpaque
+{
+ return NO;
+}
@end
<string>1 271 349 44 0 0 1056 770 </string>
</dict>
<key>IBFramework Version</key>
- <string>286.0</string>
+ <string>291.0</string>
<key>IBOpenObjects</key>
<array>
<integer>21</integer>