zamaudio / zam-plugins

Collection of LADSPA/LV2/VST/JACK audio plugins for high-quality processing
http://www.zamaudio.com/?p=976
GNU General Public License v2.0
265 stars 37 forks source link

Set initial/default UI size for ZamAutoSat, enable auto-scaling #88

Closed falkTX closed 1 year ago

falkTX commented 1 year ago

This PR enables a new feature of DPF that allows to skip an intermediary UI just to know its initial size, needed for a few hosts. When those macros are enabled the intermediary UI is skipped and the macro values are returned directly.

As an extra, the 3rd argument for the UI subclass constructor is in place and set as true. This enables auto-scaling, which will make the UI render bigger together with host/system scale factor. It will look blurry, but have the proper size. Integrating DPF with SVGs will come at a later date, to get scalable UIs.

I did this for 1 plugin to show you the procedure, please do the same for the other plugins in your collection, thanks!

zamaudio commented 1 year ago

Merged in ca14e404191a1594f1780e566e85a94aff1abeba