vanderlokken / rust-vst-gui

An extension to the 'rust-vst' crate to create VST plugin GUIs
MIT License
41 stars 14 forks source link

Custom Width, Height for Window #3

Closed Boscop closed 3 years ago

Boscop commented 5 years ago

I built a VST using this crate (it needed a GUI to specify pitch ranges to block/pass-thru/map):

image

I would like to be able to specify a custom width and height for the window, instead of using the default size of half of the physical screen:

https://github.com/vanderlokken/rust-vst-gui/blob/246cbd01cbefa9d5d52d184d439968f66c129bed/src/win32/gui.rs#L57-L58

If you want, I can implement this and do a PR?

vanderlokken commented 5 years ago

It should be pretty easy to implement I suppose. A PR would be welcome.