Re: "ghost" knobs on sliders?
Re: "ghost" knobs on sliders?
- Subject: Re: "ghost" knobs on sliders?
- From: Jeff <email@hidden>
- Date: Wed, 30 Mar 2005 11:57:47 -0500
On Mar 30, 2005, at 7:50 AM, Chris Stephens wrote:
When I programmatically request a dump of all the controls (the
hardware device has a command to let me do this) the slider knobs fly
obediently to their positions - but sometimes leave a "ghost" image of
the knob in the centre position where they all were a moment before.
I've had that exact problem before.
I was writing a midi app and the issue was I was updating the UI from
the midi thread, not the "main" thread.
UI updates need to be done in the main thread or you may get those
ghosting effects.
There's a method in NSThread called performSelectorOnMainThread or
something of that nature you can use to call a func on the main thread.
good luck
--
Jeff Trout <email@hidden>
http://www.jefftrout.com/
http://www.stuarthamm.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden