X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/22ddc2ccf5a32acf25445656e9c14e22a62835c9..bd40b798b6a46cfecdfb128e2992bba254148911:/ITButtonCell.m?ds=sidebyside diff --git a/ITButtonCell.m b/ITButtonCell.m index fa3c5bb..0f60271 100755 --- a/ITButtonCell.m +++ b/ITButtonCell.m @@ -69,7 +69,7 @@ NSPoint pointD = NSMakePoint( (ch / 2) , ch ); NSPoint lCtr = NSMakePoint( (ch / 2) , (ch / 2) ); NSPoint rCtr = NSMakePoint( (cw - (ch / 2)) , (ch / 2) ); - float alpha = 0.35; + float alpha = 0.45; [path moveToPoint:pointA]; [path lineToPoint:pointB]; @@ -84,12 +84,16 @@ endAngle:270.0]; if ( [self isHighlighted] ) { - alpha = 0.50; + alpha = 0.60; } - - [[NSColor colorWithCalibratedWhite:0.0 alpha:alpha] set]; + + [[NSColor colorWithCalibratedWhite:0.15 alpha:alpha] set]; [path fill]; } +- (BOOL)isOpaque +{ + return NO; +} @end