Re: NSView setAlphaValue question
Re: NSView setAlphaValue question
- Subject: Re: NSView setAlphaValue question
- From: "Rick C." <email@hidden>
- Date: Fri, 17 Dec 2010 10:09:21 +0800
Thanks Seth I appreciate the input and yes I think I can handle that! I should have thought of that already... :-) As a note...I wasn't actually using animator I was just reducing the alpha via a repeating timer since I liked the effect better but the end result was the same problem so I think this can take care of it. Thanks again!
On Dec 17, 2010, at 8:57 AM, Seth Willits wrote:
> On Dec 16, 2010, at 6:34 AM, Rick C. wrote:
>
>> ... So I had that working too until I realized in Leopard the view won't accept setAlphaValue unless I tick the box in IB for core animation. So I did tick the box for window view and it worked but it broke a lot of subsequent UI functions/processing....
>
>
> Yeah, layer-backed views don't always work perfectly. What I would do instead is just go old school and redraw the view's contents at varying alpha. It's more work than using the animator on the view itself, but it'll work OK and you won't have to start over completely. Off the top of my head I can't think of a simpler solution.
>
>
> --
> Seth Willits
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden