Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best approach: moving a pointer-like image over an NSImageView



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.