Re: Dynamically changing window sizes for loaded AUs..

Rory Walsh <[email protected]> Thu, 7 Apr 2016 12:50:50 +0100
Newsgroups gmane.comp.audio.ardour.devel
Message-ID <CAMJR=HMts31GF59R82HgKjWVZ7v6dUkWv_Yhh54f7erSL3si0A@mail.gmail.com>
I've been looking through the JUCE source and I can't find
anything regarding the AU resizing flag. I'll ask on the Juce list. I'll
let you know what they get back to me with.

On 6 April 2016 at 19:10, Robin Gareus <[email protected]> wrote:

> 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
> _______________________________________________
> ardour-dev mailing list
> [email protected]
> http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org
>

_______________________________________________
ardour-dev mailing list
[email protected]
http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org