From 744480a518003d57da91f66df6a9e8bd8cc5e90c Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 3 Jan 2026 21:13:26 +0100 Subject: [PATCH] Update dpf, set initial ui size Signed-off-by: falkTX --- dpf | 2 +- plugins/MVerb/DistrhoPluginInfo.h | 7 ++++++- plugins/MVerb/DistrhoUIMVerb.cpp | 4 ++-- plugins/MVerb/DistrhoUIMVerb.hpp | 4 +--- 4 files changed, 10 insertions(+), 7 deletions(-) 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/MVerb/DistrhoPluginInfo.h b/plugins/MVerb/DistrhoPluginInfo.h index 5f6dd4c..0c4ede8 100644 --- a/plugins/MVerb/DistrhoPluginInfo.h +++ b/plugins/MVerb/DistrhoPluginInfo.h @@ -1,7 +1,7 @@ /* * DISTRHO MVerb, a DPF'ied MVerb. * Copyright (c) 2010 Martin Eastwood - * Copyright (C) 2015-2022 Filipe Coelho + * Copyright (C) 2015-2026 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -19,6 +19,8 @@ #ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED #define DISTRHO_PLUGIN_INFO_H_INCLUDED +#include "DistrhoArtworkMVerb.hpp" + #define DISTRHO_PLUGIN_BRAND "DISTRHO" #define DISTRHO_PLUGIN_NAME "MVerb" #define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/MVerb" @@ -30,6 +32,9 @@ #define DISTRHO_PLUGIN_NUM_OUTPUTS 2 #define DISTRHO_PLUGIN_WANT_PROGRAMS 1 +#define DISTRHO_UI_DEFAULT_WIDTH DistrhoArtworkMVerb::backgroundWidth +#define DISTRHO_UI_DEFAULT_HEIGHT DistrhoArtworkMVerb::backgroundHeight + #define DISTRHO_PLUGIN_CLAP_FEATURES "audio-effect", "reverb", "stereo" #define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:ReverbPlugin" #define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Reverb" diff --git a/plugins/MVerb/DistrhoUIMVerb.cpp b/plugins/MVerb/DistrhoUIMVerb.cpp index c9d152a..97c8fea 100644 --- a/plugins/MVerb/DistrhoUIMVerb.cpp +++ b/plugins/MVerb/DistrhoUIMVerb.cpp @@ -1,7 +1,7 @@ /* * DISTRHO MVerb, a DPF'ied MVerb. * Copyright (c) 2010 Martin Eastwood - * Copyright (C) 2015-2021 Filipe Coelho + * Copyright (C) 2015-2026 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -28,7 +28,7 @@ using DGL::Color; // ----------------------------------------------------------------------- DistrhoUIMVerb::DistrhoUIMVerb() - : UI(Art::backgroundWidth, Art::backgroundHeight, true), + : UI(Art::backgroundWidth, Art::backgroundHeight, kInternalScalingMatchingHost), fImgBackground(Art::backgroundData, Art::backgroundWidth, Art::backgroundHeight, kImageFormatBGR) { // text diff --git a/plugins/MVerb/DistrhoUIMVerb.hpp b/plugins/MVerb/DistrhoUIMVerb.hpp index 8a845df..00abe3c 100644 --- a/plugins/MVerb/DistrhoUIMVerb.hpp +++ b/plugins/MVerb/DistrhoUIMVerb.hpp @@ -1,7 +1,7 @@ /* * DISTRHO MVerb, a DPF'ied MVerb. * Copyright (c) 2010 Martin Eastwood - * Copyright (C) 2015 Filipe Coelho + * Copyright (C) 2015-2026 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -23,8 +23,6 @@ #include "NanoVG.hpp" #include "ImageWidgets.hpp" -#include "DistrhoArtworkMVerb.hpp" - #include using DGL::Image;