summaryrefslogtreecommitdiff
path: root/plugin/drumgizmo_plugin.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-05-10 23:33:08 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-05-10 23:33:08 +0200
commitca78dfa7e2374c32d74d62b2c374122897b1c9a6 (patch)
treea208e3a12cdedf26b873e9398cef71102a7a7be1 /plugin/drumgizmo_plugin.cc
parent8247e095e28d2b1d37ff9fd1ec270f792d270acd (diff)
Update plugingizmo and thus also update return value of createWindow
Diffstat (limited to 'plugin/drumgizmo_plugin.cc')
-rw-r--r--plugin/drumgizmo_plugin.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc
index bd67e60..168eb58 100644
--- a/plugin/drumgizmo_plugin.cc
+++ b/plugin/drumgizmo_plugin.cc
@@ -259,11 +259,13 @@ bool DrumGizmoPlugin::hasGUI()
return true;
}
-void DrumGizmoPlugin::createWindow(void *parent)
+void* DrumGizmoPlugin::createWindow(void *parent)
{
plugin_gui = std::make_shared<GUI::MainWindow>(settings, parent);
resizeWindow(width, height);
onShowWindow();
+
+ return plugin_gui->getNativeWindowHandle();
}
void DrumGizmoPlugin::onDestroyWindow()