• 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
Re: draw two strokes(lines) simultaneousy on NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: draw two strokes(lines) simultaneousy on NSView


  • Subject: Re: draw two strokes(lines) simultaneousy on NSView
  • From: Mark Barclay <email@hidden>
  • Date: Tue, 20 Jan 2009 03:59:42 -0500
  • Thread-topic: draw two strokes(lines) simultaneousy on NSView

Gami,

To handle two input devices separately, as long as at least one of tehm is a
tablet type of device (such as a Wacom tablet), you can etst the value of
deviceId in the NSEvent that accompanies the mouseDragged, mouseDragged and
mouseUp methods you override in your NSView subclass (assuming that fits in
the way you are dealing with pointing device input).

/* this message is valid for mouse events with subtype
NSTabletPointEventSubtype or NSTabletProximityEventSubtype, and for
NSTabletPoint and NSTabletProximity events */
- (NSUInteger)deviceID;

OT - I¹m sorry if this message did not hit the list the way it¹s supposed
to. I subscribe to this list in a digest, and I could not figure out how to
reply directly to one of the messages in it. Please help if you know how I
can do that.

Mark

_______________________________________________

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

  • Prev by Date: Job Opportunity: Experienced Cocoa User Interface Developer ( Full Time, New York City)
  • Next by Date: CALayer animating images
  • Previous by thread: Re: draw two strokes(lines) simultaneousy on NSView
  • Next by thread: NSTextView and automaticLinkDetection
  • Index(es):
    • Date
    • Thread