Re: Dynamically changing window sizes for loaded AUs..
Robin Gareus <[email protected]> Wed, 6 Apr 2016 20:10:16 +0200
| Newsgroups | gmane.comp.audio.ardour.devel |
|---|---|
| Message-ID | <[email protected]> |
On 04/06/2016 08:01 PM, Rory Walsh wrote: > Thanks Robin, Tomorrow I will try clicking on the plugin window, and then > resizing. Manually resizing the plugin would be a reasonable word around > for now. I'll let you know. I've just checked the source. If the Cocoa View of your plugin GUI has autoresizingMask set to anything other than UIViewAutoresizingNone, the view will send events and Ardour's container will resize accordingly. If not, the initial size of the AU view (when first mapped) will be used throughout. see https://github.com/Ardour/ardour/blob/master/gtk2_ardour/au_pluginui.mm#L460 and below as well as the "auViewResized" observer. Keep it coming. Csound in Ardour is very cool. I only wish it was LV2 on all platforms! HTH, robin