Re: Problem with disclosure triangle (resizing Cocoa view) in Logic
Re: Problem with disclosure triangle (resizing Cocoa view) in Logic
- Subject: Re: Problem with disclosure triangle (resizing Cocoa view) in Logic
- From: Michael Hopkins <email@hidden>
- Date: Tue, 23 Aug 2005 10:20:22 -0700
Christian,
Thank you for your comments and also for bringing this important
issue to our attention. When I mentioned that the Generic View was
placing itself in a scroll view, I misspoke. That is not correct. It
is AULab that is creating the scroll view and placing the AU view in
if it cannot make its inspector window large enough to contain the
whole view. This is the correct behavior. The only thing missing in
here is for AU Lab to listen to notifications from the plugin and
resize its window appropriately.
-Michael
On Aug 22, 2005, at 9:08 PM, christian wrote:
In cocoa, you can do the same thing. You could resize your own
view and the cocoa window you were a subview of would receive a
NSViewFrameDidChangeNotification and could respond appropriately.
I don't know if any hosts are currently doing this, however.
It seems like AU Lab is doing it. Also I think it works in
GarageBand.
The cocoa generic view places itself in a scroll view when it is
bigger than its initial size.
This, however, is NOT the same thing as the AudioUnit resizing the
window itself.
We will look into this issue further and get back to the list with
our results.
Michael, thank you for the responses and taking the action to
investigate.
Personally I think the scrolling view isn't too great. I do
understand that the plugin is just a plugin and the host is the
owner of the windows, but I think the dynamic resizing behavior of
preference panes in Mac OS X is one of the elegant things about the
UI, and it sure would be nice if Audio Unit Cocoa UIs could take
advantage of this.
Plugin resizing looks pretty nice in AU Lab, I think. Too bad it
doesn't in Logic. http://tenbyten.com/work/RanPanResize.mov
Thanks & regards,
christian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden