Re: Transparency in NSButtonCell
Re: Transparency in NSButtonCell
- Subject: Re: Transparency in NSButtonCell
- From: Matt Ball <email@hidden>
- Date: Sat, 16 Jul 2005 16:27:57 -0400
No. I am basically making something like iPhoto's Adjustments window.
I have an NSWindow subclass with a custom NSView in it that draws the
required BezierPaths. Inside that view, I have my button. Somehow, the
button is drawing the entire view as its background. Here's a
screenshot, if that will make things clearer:
http://img315.imageshack.us/my.php?image=picture14yt.png
- Matt Ball
On 7/16/05, Andreas Mayer <email@hidden> wrote:
>
> Am 16.07.2005 um 22:13 Uhr schrieb Matt Ball:
>
> > It turns out that whenever I click on
> > the button, the NSView subclass that is inside is drawing as the
> > button's background...
>
> You mean you have an NSView inside your button? That might be a problem.
>
> Can't you do your drawing without using a view?
>
>
> 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