summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/drumgizmo_plugin.cc6
-rw-r--r--plugin/drumgizmo_plugin.h4
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];
};