Re: Transparent color over an image: how to prevent a hole?
Re: Transparent color over an image: how to prevent a hole?
- Subject: Re: Transparent color over an image: how to prevent a hole?
- From: email@hidden
- Date: Wed, 24 Sep 2003 10:12:37 -0700 (PDT)
I tried that. Unfortunately, it still ends up as a completely transparent color
that goes right through the scrollview, image, and window.
My view hierarchy is:
Window->NSTabview->NSImageView->NSScrollView->NSTextView
Thanks,
Ujwal
On Wed, 24 Sep 2003 12:57:06 -0400, Bill Haller wrote:
>
>
[NSColor colorWithCalibratedWhite:0.0 alpha:0.0]
>
>
or any other color with the alpha set to 0.0
>
>
Bill H
>
>
On Wednesday, September 24, 2003, at 11:59 AM, Ujwal S. Sathyam wrote:
>
>
> Hi,
>
>
>
> I have some text over an image, and I would like to make the text
>
> blink by periodically making it disappear. I tried to do this by
>
> setting the NSBackgroundColorAttributeName and
>
> NSForegroundColorAttributeName to [NSColor clearColor], but when I do
>
> this, the clear color goes right through the image and the window
>
> making a hole.
>
>
>
> How do I get the transparency to stop at the image?
>
>
>
> Thanks,
>
>
>
> Ujwal
>
> _______________________________________________
>
> 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.
_______________________________________________
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.