• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Achieve the Blur background as in Dock menus.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Achieve the Blur background as in Dock menus.
      • From: Gustavo Pizano <email@hidden>
References: 
 >Achieve the Blur background as in Dock menus. (From: Gustavo Pizano <email@hidden>)

  • Prev by Date: Achieve the Blur background as in Dock menus.
  • Next by Date: Re: Achieve the Blur background as in Dock menus.
  • Previous by thread: Achieve the Blur background as in Dock menus.
  • Next by thread: Re: Achieve the Blur background as in Dock menus.
  • Index(es):
    • Date
    • Thread