mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-16 13:40:05 +02:00
Make the GUI embedding work
There's still a few things that need fixing.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#define NOMCX
|
||||
#define NOIMM
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <vestige/aeffectx.h>
|
||||
#include <windows.h>
|
||||
|
||||
#include <memory>
|
||||
@@ -35,6 +36,20 @@ class Editor {
|
||||
HWND open();
|
||||
void close();
|
||||
|
||||
/**
|
||||
* Resize the window to match the given size, if open.
|
||||
*
|
||||
* @param new_size The rectangle with the plugin's current position.
|
||||
*
|
||||
* @return Whether the resizing was succesful. Will return false if the
|
||||
* editor isn't open.
|
||||
*/
|
||||
bool resize(const VstRect& new_size);
|
||||
|
||||
// TODO: This should not be needed, and is just a test to see if this works
|
||||
// at all
|
||||
bool update();
|
||||
|
||||
/**
|
||||
* Embed the (open) window into a parent window.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user