I have a custom NSView subclass that contains an NSGradient. All this class
does is draw a grey vertical gradient like iPhoto and iTunes do.
When I place standard controls on top of one of my custom gradient views, when
clicked, they also draw their rects with the same gradient - even though I
don't include any code to do that. Do I need to lockFocus or some other aspect
of CG on my custom view before I draw my gradient in my view's drawRect: method?
Thanks,
Chuck
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]