mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Rename get_win32_handle() to win32_handle()
This commit is contained in:
@@ -547,7 +547,7 @@ void ClapBridge::run() {
|
||||
|
||||
const clap_window_t window{
|
||||
.api = CLAP_WINDOW_API_WIN32,
|
||||
.win32 = editor_instance.get_win32_handle()};
|
||||
.win32 = editor_instance.win32_handle()};
|
||||
const bool result = gui->set_parent(plugin, &window);
|
||||
|
||||
// Set the window's initial size according to what the
|
||||
|
||||
@@ -745,7 +745,7 @@ intptr_t Vst2Bridge::dispatch_wrapper(AEffect* plugin,
|
||||
|
||||
const intptr_t result =
|
||||
plugin->dispatcher(plugin, opcode, index, value,
|
||||
editor_instance.get_win32_handle(), option);
|
||||
editor_instance.win32_handle(), option);
|
||||
|
||||
// Make sure the wrapper window has the correct initial size. The
|
||||
// plugin can later change this size using `audioMasterSizeWindow`.
|
||||
|
||||
@@ -793,7 +793,7 @@ void Vst3Bridge::run() {
|
||||
x11_handle);
|
||||
const tresult result =
|
||||
instance.plug_view_instance->plug_view->attached(
|
||||
editor_instance.get_win32_handle(),
|
||||
editor_instance.win32_handle(),
|
||||
type.c_str());
|
||||
|
||||
// Set the window's initial size according to what the
|
||||
|
||||
@@ -755,7 +755,7 @@ void Editor::handle_x11_events() noexcept {
|
||||
}
|
||||
}
|
||||
|
||||
HWND Editor::get_win32_handle() const noexcept {
|
||||
HWND Editor::win32_handle() const noexcept {
|
||||
return win32_window_.handle_;
|
||||
}
|
||||
|
||||
|
||||
@@ -211,7 +211,7 @@ class Editor {
|
||||
* Get the Win32 window handle so it can be passed to an `effEditOpen()`
|
||||
* call.
|
||||
*/
|
||||
HWND get_win32_handle() const noexcept;
|
||||
HWND win32_handle() const noexcept;
|
||||
|
||||
/**
|
||||
* Returns `true` if the window manager supports the EWMH active window
|
||||
|
||||
Reference in New Issue
Block a user