Re: Transparent Background for a Progress Indicator (NSView)
Re: Transparent Background for a Progress Indicator (NSView)
- Subject: Re: Transparent Background for a Progress Indicator (NSView)
- From: "Michael Ash" <email@hidden>
- Date: Fri, 12 Sep 2008 23:43:29 -0400
On Fri, Sep 12, 2008 at 3:25 PM, Simon <email@hidden> wrote:
> Hi guys,
>
> This is a quick question I hope! What's the most efficient way to make the
> progress indicator background transparent (I've got a screen shot of a quick
> test app[1])? Is there away to do this without redrawing the gradient in the
> background? I'm assuming that I could try and find out the dirty area if I
> need to...
>
> Sorry in advance if I'm missing something, but your help will be greatly
> appreciated.
You should ignore the parameter to your drawRect: method:
http://www.cocoadev.com/index.pl?DrawRect
Mike
_______________________________________________
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