Re: Transparency in NSButtonCell
Re: Transparency in NSButtonCell
- Subject: Re: Transparency in NSButtonCell
- From: Matt Ball <email@hidden>
- Date: Sat, 16 Jul 2005 15:36:41 -0400
Yep. I just noticed that the "layering" only seems to occur with the
first click. After that, it stays layered, but it doesn't seem to add
any more layers... (ie: the dark colors don't continue to get closer
to black)
- Matt Ball
On 7/16/05, glenn andreas <email@hidden> wrote:
>
> On Jul 16, 2005, at 2:20 PM, Matt Ball wrote:
>
> > I am currently working on an NSButton and NSButtonCell subclass. The
> > button that is being created (by compositing several images together)
> > is partially transparent. Whenever I click on the button, rather than
> > redrawing the button from scratch, it seems to be layering the
> > composited images on top of the existing ones. Is there some special
> > "clear" command that I need to send to the NSButtonCell before it
> > redraws?
>
> Does your NSButtonCell subclass return "NO" for -(BOOL)isOpaque?
>
>
> Glenn Andreas email@hidden
> <http://www.gandreas.com/> wicked fun!
> Widgetarium | the quickest path to widgets
>
>
_______________________________________________
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