Re: Custom Shadow on an NSWindow
Re: Custom Shadow on an NSWindow
- Subject: Re: Custom Shadow on an NSWindow
- From: <email@hidden>
- Date: Tue, 20 Feb 2007 13:58:43 +0000
To answer your other email, it's a normal NSWindow, nothing special about it at
all.
I was hoping to change the shadow a little bit depending on whether the window
is Key or not, but it seems like a lost cause. The often-derided Disco seems to
fade its shadow in and out when it becomes or resigns its Key status, I'll try
running this few some sampling apps to see if I spy any useful calls.
I'm giving up hope though, this was a 'nice to have' idea, in no way essential.
Thanks for the input, though. :)
On Tue, 20 Feb 2007 00:21:26 +0100, Uli Kusterer <email@hidden>
wrote:
> Am 19.02.2007 um 23:41 schrieb Michael Nickerson:
>> On Feb 19, 2007, at 4:08 AM, Uli Kusterer wrote:
>>> Sometimes you may have to tell the window its shape changed
>>> explicitly so it'll redo its shadow (the shadow is based on the
>>> window's opaque region). I think the call is named -reshapeWindow
>>> or something like that.
>>
>> -invalidateShadow, I think you're talking about. It invalidates
>> the shadow then recreates it based on the window's shape.
>
> Ah. Right. ReshapeWindow() is Carbon...
>
> Cheers,
> -- M. Uli Kusterer
> http://www.zathras.de
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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)
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