Dear List,
I have an old transparent NSPanel, which shape is only defined by the painted
portion of the views it contains.
The NSPanel has the following attributes set:
ExcludedFromWindowsMenu:NO
BackgroundColor: [NSColor clearColor]
AlphaValue:1.0
HasShadow:YES
useOptimizedDrawing:YES
On 22 Oct 2012, at 12:07 PM, Jean Suisse wrote:
The issue:
If the NSPanel opens with theView visible, when hiding it, theView's shadow
remains.
If the NSPanel opens with theView hidden, when displaying theView, theView
doesn't get a shadow.
It seems that the shadow for the panel is
On Oct 22, 2012, at 2:07 PM, Jean Suisse wrote:
The issue:
If the NSPanel opens with theView visible, when hiding it, theView's shadow
remains.
If the NSPanel opens with theView hidden, when displaying theView, theView
doesn't get a shadow.
It seems that the shadow for the panel is
Thank you very much for your reply.
Indeed, calling invalidateShadow did the trick. Now I need to find a way to be
notified when [[view animator] dosomething] completes, otherwise the shadow
takes the shape of the window before the transformation.
Cheers,
Jean
On 22 oct. 2012, at 22:06, Ken
On 22 oct. 2012, at 22:32, Jean Suisse jean.li...@gmail.com wrote:
Thank you very much for your reply.
Indeed, calling invalidateShadow did the trick. Now I need to find a way to
be notified when [[view animator] dosomething] completes, otherwise the
shadow takes the shape of the window