Re: Achieve the Blur background as in Dock menus.
Re: Achieve the Blur background as in Dock menus.
- Subject: Re: Achieve the Blur background as in Dock menus.
- From: Kyle Sluder <email@hidden>
- Date: Fri, 1 Jan 2010 09:28:21 -0800
On Fri, Jan 1, 2010 at 8:37 AM, Gustavo Pizano
<email@hidden> wrote:
> I dunno if my thoughts are in the right way, or no.. If so.. then .. how can I achieve it? I mean how can I take whats under the frame of the menu?
The "correct" way to do it unfortunately involves private API.
(Searching for the logical terms will return relevant results.) File
an enhancement request asking for this API to be made public.
In the meantime, you could hack around it by getting the contents of
all windows except the one your menu occupies, and compositing that
into your window's backing store. Relevant sample code for getting a
snapshot of a set of windows can be found on the developer.apple.com
site.
--Kyle Sluder
_______________________________________________
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