I have never done what I am asking about and don't want to go down the wrong path and waste time.

I want to display images in a view (call it the tool box), drag the images around and place them where the mouse goes up.

The images are also to be dragged from the tool box to another view (call it layout) and dropped

In the layout view I want to drag the images around and place them where the mouse goes up as well as rotate them via some mouse move.


So I thought I would draw the images as subclasses of NSImage in the tool box. Use mouseDown and mouseMoved to move them around the tool box.

Use drag and drop to go from the tool box to the layout and then mouseDown and mouseMoved to reposition and reorient them in the layout.

Am I on the right track or is there something even easier?

-koko
_______________________________________________

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