mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Resize the new wrapper window for VST2 plugins
This commit is contained in:
@@ -189,6 +189,13 @@ class Editor {
|
||||
const size_t parent_window_handle,
|
||||
std::optional<fu2::unique_function<void()>> timer_proc = std::nullopt);
|
||||
|
||||
/**
|
||||
* Resize the `wrapper_window` to this new size. We need to manually call
|
||||
* this whenever the plugin requests a resize, or when the host resizes the
|
||||
* window (using the plugin API). Before yabridge 3.5.0 this was implicit.
|
||||
*/
|
||||
void resize(uint16_t width, uint16_t height) noexcept;
|
||||
|
||||
/**
|
||||
* Handle X11 events sent to the window our editor is embedded in.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user