• 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: Gustavo Pizano <email@hidden>
  • Date: Fri, 1 Jan 2010 18:47:06 +0100

OUCH!!!

that hurts! :(.

I will look for the examples to get snapshot of the window and see... so getting the snapshot, then I apply the CIFilter, and the I render the image behind the menu... isn't it?

Thanks

Gustavo

On Jan 1, 2010, at 6:28 PM, Kyle Sluder wrote:

> 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: Joar Wingfors <email@hidden>
References: 
 >Achieve the Blur background as in Dock menus. (From: Gustavo Pizano <email@hidden>)
 >Re: Achieve the Blur background as in Dock menus. (From: Kyle Sluder <email@hidden>)

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