Best approach: moving a pointer-like image over an NSImageView
Best approach: moving a pointer-like image over an NSImageView
- Subject: Best approach: moving a pointer-like image over an NSImageView
- From: Larry Gerndt <email@hidden>
- Date: Thu, 9 Jun 2005 23:21:52 -0700
My application is an interactive collaboration tool wherein the attendees of a meeting are all looking at some image displayed in an NSImageView. The attendees can turn on their pointer and point at things in the image, and everyone else can see their pointer. Being new to Cocoa, I chose a very simple implementation for displaying a pointer: I add a subview containing the pointer image to the NSImageView, and whenever the pointer is supposed to move, I hide, move, and then un-hide the subview. Is this the approach a seasoned Cocoa programmer would take, or would it be more efficient (and nearly as simple) to draw in an overlay or something? If the latter, could anyone direct me to a good example? Thanks in advance.
Larry (loving Cocoa more everyday) Gerndt -- Larry Gerndt AIM Handle: SonOfTheSonOfMan Let the truth be told though the heavens fall -- James Garrison |
_______________________________________________
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