High Level Toolkit -- is it obsolete or not?

2010-02-22 Thread Joel May
I'm porting an application from Carbon to Cocoa. There are a few things in it that I'm having problems finding the cocoa equivalent. The app is a music education product for kids. They have to tap the rhythm on the spacebar or the mouse button in parts of the program -- i.e. precise timing is

Re: High Level Toolkit -- is it obsolete or not?

2010-02-23 Thread Joel May
my application. But I'm cool with it now. Thanks, Joel On Feb 23, 2010, at 1:15 AM, Eric Schlegel wrote: > > On Feb 22, 2010, at 11:53 AM, Joel May wrote: > >> I would like to create a thread (NSThread) with a bumped-up priority and >> poll the mouse and keyboard the s

Re: High Level Toolkit -- is it obsolete or not?

2010-02-23 Thread Joel May
On Feb 23, 2010, at 1:19 AM, Nick Zitzmann wrote: > > On Feb 22, 2010, at 12:53 PM, Joel May wrote: > >> I would like to create a thread (NSThread) with a bumped-up priority and >> poll the mouse and keyboard the same way I did in the carbon version. I'd >

Re: High Level Toolkit -- is it obsolete or not?

2010-02-23 Thread Joel May
Hey Ken, I never actually used that preference before. Dumb me. I'm adding leopard docs now. Thanks, Joel On Feb 23, 2010, at 6:08 AM, Ken Thomases wrote: > On Feb 23, 2010, at 1:19 AM, Nick Zitzmann wrote: > >> On Feb 22, 2010, at 12:53 PM, Joel May wrote: >> &g

Re: High Level Toolkit -- is it obsolete or not?

2010-02-23 Thread Joel May
st for method availability > at runtime: > > if ([NSEvent respondsToSelector:@selector(pressedMouseButtons)]) > return [NSEvent pressedMouseButtons]; > else > // do it the old way. > > > > Le 23 févr. 2010 à 23:18, Joel May a écrit : > >> Hey Eri

Re: High Level Toolkit -- is it obsolete or not?

2010-02-23 Thread Joel May
I haven't looked at the CoreAnimation API yet. Thanks, Joel On Feb 23, 2010, at 4:49 PM, Nick Zitzmann wrote: > > On Feb 23, 2010, at 3:30 PM, Joel May wrote: > >> Question about NSThread seeing how GetKeys(), etc. are not thread safe: If >> I increase the p

Re: High Level Toolkit -- is it obsolete or not?

2010-02-26 Thread Joel May
have wasted a lot of time with CoreAnimation, which I don't need for this project. Joel On Feb 23, 2010, at 5:50 PM, Nick Zitzmann wrote: > > On Feb 23, 2010, at 4:35 PM, Joel May wrote: > >> Thanks for the info about drawing in a different thread. I won't waste my