diff --git a/dpf b/dpf index e045225..d4c2ce6 160000 --- a/dpf +++ b/dpf @@ -1 +1 @@ -Subproject commit e045225a6c08d437d0bcf8400da9b0783291b4a9 +Subproject commit d4c2ce6e3da43ae328876146b60d2d2cca5caa44 diff --git a/plugins/3BandEQ/DistrhoPluginInfo.h b/plugins/3BandEQ/DistrhoPluginInfo.h index 1e10e27..c9dad45 100644 --- a/plugins/3BandEQ/DistrhoPluginInfo.h +++ b/plugins/3BandEQ/DistrhoPluginInfo.h @@ -1,6 +1,6 @@ /* * DISTRHO 3BandEQ Plugin, based on 3BandEQ by Michael Gruhn - * Copyright (C) 2012-2024 Filipe Coelho + * Copyright (C) 2012-2026 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,6 +17,8 @@ #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED #define DISTRHO_PLUGIN_INFO_H_INCLUDED +#include "DistrhoArtwork3BandEQ.hpp" + #define DISTRHO_PLUGIN_BRAND "DISTRHO" #define DISTRHO_PLUGIN_NAME "3 Band EQ" #define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/3BandEQ" @@ -35,6 +37,9 @@ #define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:EQPlugin" #define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|EQ" +#define DISTRHO_UI_DEFAULT_WIDTH DistrhoArtwork3BandEQ::backgroundWidth +#define DISTRHO_UI_DEFAULT_HEIGHT DistrhoArtwork3BandEQ::backgroundHeight + #define DPF_VST3_DONT_USE_BRAND_ID #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED diff --git a/plugins/3BandEQ/DistrhoUI3BandEQ.cpp b/plugins/3BandEQ/DistrhoUI3BandEQ.cpp index 75956c7..e5f4fd5 100644 --- a/plugins/3BandEQ/DistrhoUI3BandEQ.cpp +++ b/plugins/3BandEQ/DistrhoUI3BandEQ.cpp @@ -1,6 +1,6 @@ /* * DISTRHO 3BandEQ Plugin, based on 3BandEQ by Michael Gruhn - * Copyright (C) 2012-2021 Filipe Coelho + * Copyright (C) 2012-2026 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -24,7 +24,7 @@ namespace Art = DistrhoArtwork3BandEQ; // ----------------------------------------------------------------------- DistrhoUI3BandEQ::DistrhoUI3BandEQ() - : UI(Art::backgroundWidth, Art::backgroundHeight, true), + : UI(Art::backgroundWidth, Art::backgroundHeight, kInternalScalingMatchingHost), fImgBackground(Art::backgroundData, Art::backgroundWidth, Art::backgroundHeight, kImageFormatBGR), fAboutWindow(this) { diff --git a/plugins/3BandEQ/DistrhoUI3BandEQ.hpp b/plugins/3BandEQ/DistrhoUI3BandEQ.hpp index 8744114..82fd101 100644 --- a/plugins/3BandEQ/DistrhoUI3BandEQ.hpp +++ b/plugins/3BandEQ/DistrhoUI3BandEQ.hpp @@ -1,6 +1,6 @@ /* * DISTRHO 3BandEQ Plugin, based on 3BandEQ by Michael Gruhn - * Copyright (C) 2012-2015 Filipe Coelho + * Copyright (C) 2012-2026 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -20,8 +20,6 @@ #include "DistrhoUI.hpp" #include "ImageWidgets.hpp" -#include "DistrhoArtwork3BandEQ.hpp" - START_NAMESPACE_DISTRHO // ----------------------------------------------------------------------- diff --git a/plugins/3BandSplitter/DistrhoPluginInfo.h b/plugins/3BandSplitter/DistrhoPluginInfo.h index ed3a7d2..88fc060 100644 --- a/plugins/3BandSplitter/DistrhoPluginInfo.h +++ b/plugins/3BandSplitter/DistrhoPluginInfo.h @@ -1,6 +1,6 @@ /* * DISTRHO 3BandSplitter Plugin, based on 3BandSplitter by Michael Gruhn - * Copyright (C) 2012-2024 Filipe Coelho + * Copyright (C) 2012-2026 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,6 +17,8 @@ #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED #define DISTRHO_PLUGIN_INFO_H_INCLUDED +#include "DistrhoArtwork3BandSplitter.hpp" + #define DISTRHO_PLUGIN_BRAND "DISTRHO" #define DISTRHO_PLUGIN_NAME "3 Band Splitter" #define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/3BandSplitter" @@ -35,6 +37,9 @@ #define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:EQPlugin" #define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|EQ" +#define DISTRHO_UI_DEFAULT_WIDTH DistrhoArtwork3BandSplitter::backgroundWidth +#define DISTRHO_UI_DEFAULT_HEIGHT DistrhoArtwork3BandSplitter::backgroundHeight + #define DPF_VST3_DONT_USE_BRAND_ID #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED diff --git a/plugins/3BandSplitter/DistrhoUI3BandSplitter.cpp b/plugins/3BandSplitter/DistrhoUI3BandSplitter.cpp index 30dae47..a78e904 100644 --- a/plugins/3BandSplitter/DistrhoUI3BandSplitter.cpp +++ b/plugins/3BandSplitter/DistrhoUI3BandSplitter.cpp @@ -1,6 +1,6 @@ /* * DISTRHO 3BandSplitter Plugin, based on 3BandSplitter by Michael Gruhn - * Copyright (C) 2012-2021 Filipe Coelho + * Copyright (C) 2012-2026 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -24,7 +24,7 @@ namespace Art = DistrhoArtwork3BandSplitter; // ----------------------------------------------------------------------- DistrhoUI3BandSplitter::DistrhoUI3BandSplitter() - : UI(Art::backgroundWidth, Art::backgroundHeight, true), + : UI(Art::backgroundWidth, Art::backgroundHeight, kInternalScalingMatchingHost), fImgBackground(Art::backgroundData, Art::backgroundWidth, Art::backgroundHeight, kImageFormatBGR), fAboutWindow(this) { diff --git a/plugins/3BandSplitter/DistrhoUI3BandSplitter.hpp b/plugins/3BandSplitter/DistrhoUI3BandSplitter.hpp index a3e731f..e5c18f9 100644 --- a/plugins/3BandSplitter/DistrhoUI3BandSplitter.hpp +++ b/plugins/3BandSplitter/DistrhoUI3BandSplitter.hpp @@ -1,6 +1,6 @@ /* * DISTRHO 3BandSplitter Plugin, based on 3BandSplitter by Michael Gruhn - * Copyright (C) 2012-2015 Filipe Coelho + * Copyright (C) 2012-2026 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -20,8 +20,6 @@ #include "DistrhoUI.hpp" #include "ImageWidgets.hpp" -#include "DistrhoArtwork3BandSplitter.hpp" - START_NAMESPACE_DISTRHO // ----------------------------------------------------------------------- diff --git a/plugins/PingPongPan/DistrhoPluginInfo.h b/plugins/PingPongPan/DistrhoPluginInfo.h index 7402b54..5659a48 100644 --- a/plugins/PingPongPan/DistrhoPluginInfo.h +++ b/plugins/PingPongPan/DistrhoPluginInfo.h @@ -1,6 +1,6 @@ /* * DISTRHO PingPongPan Plugin, based on PingPongPan by Michael Gruhn - * Copyright (C) 2012-2024 Filipe Coelho + * Copyright (C) 2012-2026 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,6 +17,8 @@ #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED #define DISTRHO_PLUGIN_INFO_H_INCLUDED +#include "DistrhoArtworkPingPongPan.hpp" + #define DISTRHO_PLUGIN_BRAND "DISTRHO" #define DISTRHO_PLUGIN_NAME "Ping Pong Pan" #define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/PingPongPan" @@ -35,6 +37,9 @@ #define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:SpatialPlugin" #define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Spatial" +#define DISTRHO_UI_DEFAULT_WIDTH DistrhoArtworkPingPongPan::backgroundWidth +#define DISTRHO_UI_DEFAULT_HEIGHT DistrhoArtworkPingPongPan::backgroundHeight + #define DPF_VST3_DONT_USE_BRAND_ID #endif // DISTRHO_PLUGIN_INFO_H_INCLUDED diff --git a/plugins/PingPongPan/DistrhoUIPingPongPan.cpp b/plugins/PingPongPan/DistrhoUIPingPongPan.cpp index 265cefe..194a5b2 100644 --- a/plugins/PingPongPan/DistrhoUIPingPongPan.cpp +++ b/plugins/PingPongPan/DistrhoUIPingPongPan.cpp @@ -1,6 +1,6 @@ /* * DISTRHO PingPongPan Plugin, based on PingPongPan by Michael Gruhn - * Copyright (C) 2012-2021 Filipe Coelho + * Copyright (C) 2012-2026 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -24,7 +24,7 @@ namespace Art = DistrhoArtworkPingPongPan; // ----------------------------------------------------------------------- DistrhoUIPingPongPan::DistrhoUIPingPongPan() - : UI(Art::backgroundWidth, Art::backgroundHeight, true), + : UI(Art::backgroundWidth, Art::backgroundHeight, kInternalScalingMatchingHost), fImgBackground(Art::backgroundData, Art::backgroundWidth, Art::backgroundHeight, kImageFormatBGR), fAboutWindow(this) { diff --git a/plugins/PingPongPan/DistrhoUIPingPongPan.hpp b/plugins/PingPongPan/DistrhoUIPingPongPan.hpp index ac7e150..e58d44c 100644 --- a/plugins/PingPongPan/DistrhoUIPingPongPan.hpp +++ b/plugins/PingPongPan/DistrhoUIPingPongPan.hpp @@ -1,6 +1,6 @@ /* * DISTRHO PingPongPan Plugin, based on PingPongPan by Michael Gruhn - * Copyright (C) 2012-2015 Filipe Coelho + * Copyright (C) 2012-2026 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -20,8 +20,6 @@ #include "DistrhoUI.hpp" #include "ImageWidgets.hpp" -#include "DistrhoArtworkPingPongPan.hpp" - START_NAMESPACE_DISTRHO // -----------------------------------------------------------------------