On 19 Mar 09, at 21:41, mm w wrote:
seriously you should think to use a GLView,

As NSGradient is unusable in OpenGL contexts, I'm not sure what this is supposed to solve.

you also have to think to lock your context...

The drawing context is set up and locked by AppKit before it calls drawRect, so locking it manually is unnecessary (and may cause problems of its own).
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to