diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-17 11:43:53 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-17 11:43:53 +0200 |
commit | 93a8927be51957911df172bda8fc97ed4efa4802 (patch) | |
tree | 9d5ffa562e4277db7610b9b35b73f41461d28b0e /plugin | |
parent | f505c622eda8cdd02da00742e794c9b940902a8d (diff) |
Use new UI in plugins.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/drumgizmo_plugin.cc | 6 | ||||
-rw-r--r-- | plugin/drumgizmo_plugin.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc index 9b1c46d..a4a44b8 100644 --- a/plugin/drumgizmo_plugin.cc +++ b/plugin/drumgizmo_plugin.cc @@ -63,7 +63,7 @@ DrumGizmoPlugin::DrumGizmoPlugin() init(); drumgizmo = std::make_shared<DrumGizmo>(settings, output, input); - resizeWindow(370, 430); + resizeWindow(750, 480); drumgizmo->setFreeWheel(true); drumgizmo->setSamplerate(44100); drumgizmo->setFrameSize(2048); @@ -261,8 +261,8 @@ bool DrumGizmoPlugin::hasGUI() void DrumGizmoPlugin::createWindow(void *parent) { - plugin_gui = std::make_shared<GUI::PluginGUI>(settings, parent); - resizeWindow(370, 430); + plugin_gui = std::make_shared<GUI::MainWindow>(settings, parent); + resizeWindow(750, 480); onShowWindow(); } diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h index b3db7b2..3662d5f 100644 --- a/plugin/drumgizmo_plugin.h +++ b/plugin/drumgizmo_plugin.h @@ -39,7 +39,7 @@ #include <drumgizmo.h> #include <audioinputenginemidi.h> #include <audiooutputengine.h> -#include <plugingui.h> +#include <mainwindow.h> #include <texturedbox.h> #include <imagecache.h> @@ -199,7 +199,7 @@ private: 2, 1, 2, // dx1, dx2, dx3 11, 0, 0}; // dy1, dy2, dy3 - std::shared_ptr<GUI::PluginGUI> plugin_gui; + std::shared_ptr<GUI::MainWindow> plugin_gui; std::shared_ptr<DrumGizmo> drumgizmo; std::uint32_t inlineDisplayBuffer[1024*1024]; }; |