Re: Translucent black window
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