Re: Mutable NSColor?
Re: Mutable NSColor?
- Subject: Re: Mutable NSColor?
- From: Ondra Cada <email@hidden>
- Date: Mon, 24 Sep 2001 14:24:01 +0200
Rob,
>
>>>>> Rob Rix (RR) wrote at Mon, 24 Sep 2001 07:32:30 -0400:
RR> Does anybody have a mutable NSColor subclass they'd be willing to share?
RR> I need to be able to set a color instance's red, green, blue, and alpha
RR> components, but I don't seem to be able to do that with NSColor as it is,
RR> and I don't have the slightest clue how I would go about making a mutable
RR> subclass of my own.
Why don't you just create a new (immutable) color to be used instead the old one?
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc