Re: NSTextView with transparent text?
Re: NSTextView with transparent text?
- Subject: Re: NSTextView with transparent text?
- From: Doug Brown <email@hidden>
- Date: Mon, 18 Mar 2002 15:22:21 -0800
On Monday, March 18, 2002, at 03:00 PM, email@hidden wrote:
Well, I'm still not sure I understand what you want here, but if you
just want the text to appear "dimmed", but not to be showing through to
anything behind it, I would abandon alpha -- just use a color that has
been mixed with a medium gray. It doesn't sound to me like there's any
need for transparency in what you're doing.
Maybe [myColor blendedColorWithFraction:0.4 ofColor:[NSColor
lightGrayColor]]?
Ben Haller
Stick Software
Hi,
Yes - this does seem to work, thank you! What i was aiming for is kind
of difficult to explain, it's kind of like I want the text to look like
it's a tinted window, so it is dimmed. But yes, this
blendedColorWithFraction:ofColor: method is just perfect for what I
need. Thanks!
Doug
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.