• 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: Translucent black window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Translucent black window


  • Subject: Re: Translucent black window
  • From: Julien Silland <email@hidden>
  • Date: Tue, 17 Jan 2006 21:17:27 +0100

I'm also trying to build a translucent window like iPhoto, but I am facing a problem with some controls. I have changed the window's content view with a custom view of my own in order to achieve the transparency effect. The window's settings are : no opaqueness, clear color as background color, just like in RoundTransparentWindow and the content view has an alpha of 0.5. The content view contains an NSTabView (tabless and borderless - I just needed the multiple view management). I have remarked that when I programatically switch between tabs, the corners of the tab view get redrawn in a weird way. The space between the usual rounded corners and the actual square frame of the view is drawn in what I assume is the background color of the window (in that case, the clear color). It's like there are small "holes" in my window (one can literally see through the window on small spots like these corners) and it tends to be quite visually disturbing. I would like these holes to be filled with the same color as my background content view. I have been playing with isOpaque on the background content view, but it didn't help. I've also tried subclassing the tab view but even overloading drawRect was helpless.

Can you be more specific about what I need to change to the controls in order to have them drawn properly ?

Thanks,
Julien

On Jan 17, 2006, at 8:28 PM, Andreas Mayer wrote:


Am 17.01.2006 um 13:57 Uhr schrieb Nik Youdale:

Anyway, I have nearly finished creating a class for making one of these windows, and it looks just fantastic. It really wasnt too hard.

The window is not hard. Modifying all controls is. :)


Andreas _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Translucent black window
      • From: Prachi Gauriar <email@hidden>
    • Re: Translucent black window
      • From: Andreas Mayer <email@hidden>
References: 
 >Translucent black window (From: Nik Youdale <email@hidden>)
 >Re: Translucent black window (From: Andreas Mayer <email@hidden>)
 >Re: Translucent black window (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: Core Data and multithreading (was Re: [Core Data] Improve save performance ?)
  • Next by Date: NSTextView & horizontal scrolling - my error or Apple's?
  • Previous by thread: Re: Translucent black window
  • Next by thread: Re: Translucent black window
  • Index(es):
    • Date
    • Thread