• 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
Transparent IKImageBrowserView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Transparent IKImageBrowserView


  • Subject: Transparent IKImageBrowserView
  • From: "Rimas M." <email@hidden>
  • Date: Fri, 23 Jul 2010 10:04:32 +0300

Hello,

As far as I know, it is still impossible to have transparent
background of IKImageBrowserView?
I am writing to be 100% sure for that. Maybe I have missed something?

All my attempts to create transparent IKImageBrowserView failed.

I have tried:

* (1) setting background color for IKImageBrowserView as itself using
IKImageBrowserBackgroundColorKey. That works well until color alpha is
equal to 1.0. Bellow that color is ignored (color does not change) or
background is changed back to default white. Or... looks like given
color is composited on a white background.
* setting CALayer as IKImageBrowserView's backgroundLayer:
   ** (2) using property backgroundColor of CALayer. No background
transparency, scrolling ghosts, misc garbages during start-up - some
parts of menubar, other windows are visible for a few moments after
program launch.
   ** using custom drawing ( -
(void)drawInContext:(CGContextRef)context ) in CALayer subclass:
      *** (3) drawing transparent image to fill background. No
transparency for IKImageBrowserView, some strange ghosts while
scrolling.
      *** (4) filling background with transparent color (alpha < 1.0).
Behaves close to previous variant. "Size" of ghosts depends on alpha
value.

On 3 and 4, flushing context or telling it to clear visible rect makes no sense.

Best Regards,

Rimas M.
_______________________________________________

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: Transparent IKImageBrowserView
      • From: Steve Christensen <email@hidden>
  • Prev by Date: Re: NSWindow and setLevel
  • Next by Date: Re: Array controllers in code?
  • Previous by thread: RE: NSWindow and setLevel
  • Next by thread: Re: Transparent IKImageBrowserView
  • Index(es):
    • Date
    • Thread