On Oct 30, 2014, at 12:00 , Bill Cheeseman <wjcheese...@gmail.com> wrote: > > There is one behavior I can't figure out. The Application Switcher's window > background is vibrant, and so is the darker rectangle that marks the > application to be made active, but the icon images are not vibrant. > > In my application, I can make the window background and the darker selection > rectangle vibrant, but the icon image is vibrant, too. That is, blurred > images and colors behind my window show through the icon image, as well as > showing through the window background and the selection rectangle.
Maybe this is too simplistic, but isn’t there a solution where the icons are subviews of another view that has vibrancy turned off, not directly of the window content view? Or, in the worst case, a two-window solution where the icons are in a non-vibrant window positioned over the vibrant background window? > From the limited discussion in the AppKit Release Note and the WWWDC 220 > video, I gather that I could accomplish this by setting the > NSVisualEffectView's maskImage property to encompass everything in my window > except the icon image, but I have no idea how to create an inverse mask image. Because … it’s an issue of creating masks generally, or of getting icon-shaped bitmaps in particular? _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com