Also resize the wrapper window for VST3 plugins

This commit is contained in:
Robbert van der Helm
2021-07-21 16:07:23 +02:00
parent 4277561aa4
commit e28bc63f8d
3 changed files with 49 additions and 5 deletions
+8
View File
@@ -292,6 +292,14 @@ class Vst3Bridge : public HostBridge {
void handle_x11_events() noexcept override;
/**
* If the plugin instance has an editor, resize the wrapper window to match
* the new size. This is called from `IPlugFrame::resizeView()` to make sure
* we do the resize before the request gets sent to the host.
*/
bool maybe_resize_editor(size_t instance_id,
const Steinberg::ViewRect& new_size);
/**
* Register a context with with `context_menu`'s ID and owner in
* `object_instances`. This will be called during the constructor of