Re: TC PowerCore Plug-ins broken in GarageBand
Re: TC PowerCore Plug-ins broken in GarageBand
- Subject: Re: TC PowerCore Plug-ins broken in GarageBand
- From: David Duncan <email@hidden>
- Date: Fri, 23 Jan 2004 05:25:12 -0500
On Jan 23, 2004, at 01:28 AM, Urs Heckmann wrote:
...but, I found out that in Compositing Windows, CarbonControls
(embedded via HiView APIs) do not receive a DrawEvent if you just
change their Control Value. I think one can just use Draw1Control to
update the Controls.
Background info: I have a lot of CarbonControls that just fire a
Draw1Control if the Property they act on changes (mostly
multi-parameter controls, like Zebra's Spectrum Editor). These
draw/update just fine in Compositing Windows. But CarbonControls that
only use SetControl32BitValue upon changes do not update properly.
Standard HIViews (Controls) will update themselves when their value
changes, but your own custom controls have to implement this directly.
The preferred method is to call HIViewSetNeedsDisplay(view, true),
however I suspect that Draw1Control(view) does the same thing in a
composited window. But yes, as part of the compositing model, you will
only get draw events if you are considered dirty, the model caches the
view's image until then.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.