• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSImage


  • Subject: NSImage
  • From: email@hidden
  • Date: Sun, 19 Sep 2010 10:36:57 -0600

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 (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSImage
      • From: Uli Kusterer <email@hidden>
    • Re: NSImage
      • From: Erik Buck <email@hidden>
  • Prev by Date: Re: Extract Text From NSLabels to Mail
  • Next by Date: Re: NSImage
  • Previous by thread: Re: What controller functions should be implemented in what files?
  • Next by thread: Re: NSImage
  • Index(es):
    • Date
    • Thread