From b0fa70c97c9b4886fb6e063664dc4d10daf12c1c Mon Sep 17 00:00:00 2001 From: TheMarlboroMan Date: Sun, 15 Nov 2020 16:23:26 +0100 Subject: Store size of main window centralized in mainwindow.h to reduce redundancy. --- plugin/drumgizmo_plugin.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugin/drumgizmo_plugin.h') diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h index 521ec86..78a74dc 100644 --- a/plugin/drumgizmo_plugin.h +++ b/plugin/drumgizmo_plugin.h @@ -114,6 +114,7 @@ public: void closeWindow() override; private: + class Input : public AudioInputEngineMidi { @@ -215,9 +216,6 @@ private: GUI::Image inline_display_image{":resources/logo.png"}; bool inline_image_first_draw{true}; - static constexpr std::size_t width{750}; - static constexpr std::size_t height{713}; - #ifdef WITH_NLS UITranslation translation; #endif // WITH_NLS -- cgit v1.2.3