Browse Source

Update dpf, set initial ui size

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 1 month ago
parent
commit
744480a518
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
4 changed files with 10 additions and 7 deletions
  1. +1
    -1
      dpf
  2. +6
    -1
      plugins/MVerb/DistrhoPluginInfo.h
  3. +2
    -2
      plugins/MVerb/DistrhoUIMVerb.cpp
  4. +1
    -3
      plugins/MVerb/DistrhoUIMVerb.hpp

+ 1
- 1
dpf

@@ -1 +1 @@
Subproject commit e045225a6c08d437d0bcf8400da9b0783291b4a9
Subproject commit d4c2ce6e3da43ae328876146b60d2d2cca5caa44

+ 6
- 1
plugins/MVerb/DistrhoPluginInfo.h View File

@@ -1,7 +1,7 @@
/*
* DISTRHO MVerb, a DPF'ied MVerb.
* Copyright (c) 2010 Martin Eastwood
* Copyright (C) 2015-2022 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2015-2026 Filipe Coelho <falktx@falktx.com>
*
* 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"


+ 2
- 2
plugins/MVerb/DistrhoUIMVerb.cpp View File

@@ -1,7 +1,7 @@
/*
* DISTRHO MVerb, a DPF'ied MVerb.
* Copyright (c) 2010 Martin Eastwood
* Copyright (C) 2015-2021 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2015-2026 Filipe Coelho <falktx@falktx.com>
*
* 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


+ 1
- 3
plugins/MVerb/DistrhoUIMVerb.hpp View File

@@ -1,7 +1,7 @@
/*
* DISTRHO MVerb, a DPF'ied MVerb.
* Copyright (c) 2010 Martin Eastwood
* Copyright (C) 2015 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2015-2026 Filipe Coelho <falktx@falktx.com>
*
* 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 <vector>

using DGL::Image;


Loading…
Cancel
Save