mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-16 00:13:55 +02:00
Also resize the wrapper window for VST3 plugins
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user