NSColor, 10.6 and Gamma 2.2
- by Stephen Blinkhorn
With Snow Leopard the default gamma changed from 1.8 to 2.2. I happen to be working on a few Mac apps that use a very dark custom colour scheme provided by Cocoa. On 10.5 it looks fine but on 10.6 with the new gamma it's much darker and really hard on the eyes.
The colour scheme is defined using numerous [NSColor colorWithCalibratedRed:green:blue:alpha:] objects within a theme class.
Is there any way to 'convert' an NSColor object so that it displays on 10.6 exactly as it would on 10.5 with the old 1.8 gamma?
I know this can be achieved globally from within System Preferences but that's not what I'm after.