non-trivial NSCursor example?
non-trivial NSCursor example?
- Subject: non-trivial NSCursor example?
- From: "Michael B. Johnson" <email@hidden>
- Date: Sat, 22 Sep 2001 22:35:36 -0700
Hi folks. I'm trying to write a view that changes the cursor depending on
what the hot keys the user is pressing, perhaps in conjunction with a
mouseDown: (i.e. translating the view, zooming in, zooming out, etc.), and
am looking for any example that shows how the right way to do this.
Looking around, I'm coming up surprisingly blank (even Sketch just sets a
crosshair cursor and is done with it). The doc on
NSCursor/NSView/NSWindow is interesting, but not as clear as I'd like on
how the flow should be.
Any pointers to code? Or for those that have done this, a clearer
explanation?
Thanks.
--> Michael B. Johnson, Ph.D. -- email@hidden
--> Studio Tools, Pixar Animation Studios
-->
http://xenia.media.mit.edu/~wave