Rename get_win32_handle() to win32_handle()

This commit is contained in:
Robbert van der Helm
2022-10-09 14:23:29 +02:00
parent 04e03840e0
commit 24e50a3afc
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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`.
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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_;
}
+1 -1
View File
@@ -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