Re: Resizing AU Views (Carbon)
Re: Resizing AU Views (Carbon)
- Subject: Re: Resizing AU Views (Carbon)
- From: Marc Poirier <email@hidden>
- Date: Mon, 27 Oct 2003 09:05:48 -0600 (CST)
Ummm, old mail that I forgot to send for a long time...
>
A Host can install an event listener for the ControlBoundsChanged
>
event. Then when the AU needs to change its view size, all that it does
>
is resize the control. Meanwhile the host will listen for changes to
>
this view control. (There is one special case the host should look for
>
- and that is that the size of the control is NOT (0,0) - in the
>
generic UI we're rebuilding the UI completely when the parameter list
>
changes, so we start again from a control size of 0,0, the resize the
>
control after rebuilding all of the sliders, etc....)
Why does the Generic AUCarbonView do this? Why not just set the size once
it's been calculated? Why the intermediate 0,0 step? Is this needed in
any way, and is it something that other resizing AUCarbonViews should do?
Thanks,
Marc
_______________________________________________
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.