FROM : R. Scott Thompson
DATE : Thu Dec 09 20:06:18 2004
> I haven't tested this, but you could try using an NSColor that is not
> equal to [NSColor blackColor], but whose RGB components are 0. I
> believe it is sufficient to use
> colorWithCalibratedRed:green:blue:alpha: but if necessary you could
> use a custom NSColor subclass.
Well, I already tried colorWithCalibratedRed... and
colorWithDeviceRed.... Neither of those worked :-) I'll try a custom
subclass and (just as an experiment) I'll try a color that is so close
to black that it makes no odds.
Scott
DATE : Thu Dec 09 20:06:18 2004
> I haven't tested this, but you could try using an NSColor that is not
> equal to [NSColor blackColor], but whose RGB components are 0. I
> believe it is sufficient to use
> colorWithCalibratedRed:green:blue:alpha: but if necessary you could
> use a custom NSColor subclass.
Well, I already tried colorWithCalibratedRed... and
colorWithDeviceRed.... Neither of those worked :-) I'll try a custom
subclass and (just as an experiment) I'll try a color that is so close
to black that it makes no odds.
Scott
| Related mails | Author | Date |
|---|---|---|
| Douglas Davidson | Dec 9, 19:34 | |
| R. Scott Thompson | Dec 9, 20:06 | |
| R. Scott Thompson | Dec 9, 20:46 |






Cocoa mail archive

