Re: I need more mouseDragged events
Re: I need more mouseDragged events
- Subject: Re: I need more mouseDragged events
- From: "M. Uli Kusterer" <email@hidden>
- Date: Wed, 14 Apr 2004 18:06:00 +0200
At 17:40 Uhr -0700 08.04.2004, Bertrand Landry-Hitu wrote:
I don't know if there is a "good" Cocoa way of doing that, but i
know that some commercial drawing software have a low level timer
that queries the mouse location when the user does a mouse down on
the drawing canvas. Cumulating the data in a queue that the main
event loop processes when it has time to do so.
Ouch. Okay, if nothing else fixes things, I'll try that. Though it
sounds like it *should* be something the framework lets me do.
Depending on the resolution of the timer you'll get better results.
I think the best you can get is one of the low level timer that gets
called at interrupt time (whatever it means nowadays in OS X), or
maybe having a thread to do the work... It gets a bit more
complicating if you want to get tablet support :).
No tablet support (yet - *crosses fingers*).
Okay, "'Thank Yew', said Sir Hemingford". I'll let the list know if
I get it fixed that way.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.