"Fixed" ITButton... it's not REALLY fixed, as that's impossible, but it
authorJoseph Spiros <joseph.spiros@ithinksw.com>
Tue, 30 Sep 2003 10:12:05 +0000 (10:12 +0000)
committerJoseph Spiros <joseph.spiros@ithinksw.com>
Tue, 30 Sep 2003 10:12:05 +0000 (10:12 +0000)
looks and feels like it is, and it even has a kinda nice side effect...

ITButton.m
ITButtonCell.m
Showcase/English.lproj/MainMenu.nib/info.nib

index 7a7a242..f5d15b2 100755 (executable)
     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] ) ) {
index fa3c5bb..938e571 100755 (executable)
     if ( [self isHighlighted] ) {
         alpha = 0.50;
     }
-
+    
     [[NSColor colorWithCalibratedWhite:0.0 alpha:alpha] set];
     [path fill];
 }
 
+- (BOOL)isOpaque
+{
+    return NO;
+}
 
 @end
index 5e6fd3c..876a73d 100755 (executable)
@@ -12,7 +12,7 @@
                <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>