From ca78dfa7e2374c32d74d62b2c374122897b1c9a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Wed, 10 May 2017 23:33:08 +0200 Subject: Update plugingizmo and thus also update return value of createWindow --- plugin/drumgizmo_plugin.cc | 4 +++- plugin/drumgizmo_plugin.h | 2 +- plugin/plugingizmo | 2 +- 3 files changed, 5 insertions(+), 3 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(settings, parent); resizeWindow(width, height); onShowWindow(); + + return plugin_gui->getNativeWindowHandle(); } void DrumGizmoPlugin::onDestroyWindow() diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h index 7734051..98c6c26 100644 --- a/plugin/drumgizmo_plugin.h +++ b/plugin/drumgizmo_plugin.h @@ -100,7 +100,7 @@ public: // GUI // bool hasGUI() override; - void createWindow(void *parent) override; + void* createWindow(void *parent) override; void onDestroyWindow() override; void onShowWindow() override; void onHideWindow() override; diff --git a/plugin/plugingizmo b/plugin/plugingizmo index d93c0bb..3689438 160000 --- a/plugin/plugingizmo +++ b/plugin/plugingizmo @@ -1 +1 @@ -Subproject commit d93c0bbfbeb938f29b47fd849e5165106f3e80c5 +Subproject commit 36894382ff965c3751fdedb18b452d1329d3a82d -- cgit v1.2.3