Skip to content

Commit 401557d

Browse files
committed
Update dpf, set default UI size
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 32b4612 commit 401557d

File tree

10 files changed

+28
-19
lines changed

10 files changed

+28
-19
lines changed

dpf

Submodule dpf updated 138 files

plugins/3BandEQ/DistrhoPluginInfo.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* DISTRHO 3BandEQ Plugin, based on 3BandEQ by Michael Gruhn
3-
* Copyright (C) 2012-2024 Filipe Coelho <falktx@falktx.com>
3+
* Copyright (C) 2012-2026 Filipe Coelho <falktx@falktx.com>
44
*
55
* This program is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public
@@ -17,6 +17,8 @@
1717
#ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED
1818
#define DISTRHO_PLUGIN_INFO_H_INCLUDED
1919

20+
#include "DistrhoArtwork3BandEQ.hpp"
21+
2022
#define DISTRHO_PLUGIN_BRAND "DISTRHO"
2123
#define DISTRHO_PLUGIN_NAME "3 Band EQ"
2224
#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/3BandEQ"
@@ -35,6 +37,9 @@
3537
#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:EQPlugin"
3638
#define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|EQ"
3739

40+
#define DISTRHO_UI_DEFAULT_WIDTH DistrhoArtwork3BandEQ::backgroundWidth
41+
#define DISTRHO_UI_DEFAULT_HEIGHT DistrhoArtwork3BandEQ::backgroundHeight
42+
3843
#define DPF_VST3_DONT_USE_BRAND_ID
3944

4045
#endif // DISTRHO_PLUGIN_INFO_H_INCLUDED

plugins/3BandEQ/DistrhoUI3BandEQ.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* DISTRHO 3BandEQ Plugin, based on 3BandEQ by Michael Gruhn
3-
* Copyright (C) 2012-2021 Filipe Coelho <falktx@falktx.com>
3+
* Copyright (C) 2012-2026 Filipe Coelho <falktx@falktx.com>
44
*
55
* This program is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public
@@ -24,7 +24,7 @@ namespace Art = DistrhoArtwork3BandEQ;
2424
// -----------------------------------------------------------------------
2525

2626
DistrhoUI3BandEQ::DistrhoUI3BandEQ()
27-
: UI(Art::backgroundWidth, Art::backgroundHeight, true),
27+
: UI(Art::backgroundWidth, Art::backgroundHeight, kInternalScalingMatchingHost),
2828
fImgBackground(Art::backgroundData, Art::backgroundWidth, Art::backgroundHeight, kImageFormatBGR),
2929
fAboutWindow(this)
3030
{

plugins/3BandEQ/DistrhoUI3BandEQ.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* DISTRHO 3BandEQ Plugin, based on 3BandEQ by Michael Gruhn
3-
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com>
3+
* Copyright (C) 2012-2026 Filipe Coelho <falktx@falktx.com>
44
*
55
* This program is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public
@@ -20,8 +20,6 @@
2020
#include "DistrhoUI.hpp"
2121
#include "ImageWidgets.hpp"
2222

23-
#include "DistrhoArtwork3BandEQ.hpp"
24-
2523
START_NAMESPACE_DISTRHO
2624

2725
// -----------------------------------------------------------------------

plugins/3BandSplitter/DistrhoPluginInfo.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* DISTRHO 3BandSplitter Plugin, based on 3BandSplitter by Michael Gruhn
3-
* Copyright (C) 2012-2024 Filipe Coelho <falktx@falktx.com>
3+
* Copyright (C) 2012-2026 Filipe Coelho <falktx@falktx.com>
44
*
55
* This program is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public
@@ -17,6 +17,8 @@
1717
#ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED
1818
#define DISTRHO_PLUGIN_INFO_H_INCLUDED
1919

20+
#include "DistrhoArtwork3BandSplitter.hpp"
21+
2022
#define DISTRHO_PLUGIN_BRAND "DISTRHO"
2123
#define DISTRHO_PLUGIN_NAME "3 Band Splitter"
2224
#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/3BandSplitter"
@@ -35,6 +37,9 @@
3537
#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:EQPlugin"
3638
#define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|EQ"
3739

40+
#define DISTRHO_UI_DEFAULT_WIDTH DistrhoArtwork3BandSplitter::backgroundWidth
41+
#define DISTRHO_UI_DEFAULT_HEIGHT DistrhoArtwork3BandSplitter::backgroundHeight
42+
3843
#define DPF_VST3_DONT_USE_BRAND_ID
3944

4045
#endif // DISTRHO_PLUGIN_INFO_H_INCLUDED

plugins/3BandSplitter/DistrhoUI3BandSplitter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* DISTRHO 3BandSplitter Plugin, based on 3BandSplitter by Michael Gruhn
3-
* Copyright (C) 2012-2021 Filipe Coelho <falktx@falktx.com>
3+
* Copyright (C) 2012-2026 Filipe Coelho <falktx@falktx.com>
44
*
55
* This program is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public
@@ -24,7 +24,7 @@ namespace Art = DistrhoArtwork3BandSplitter;
2424
// -----------------------------------------------------------------------
2525

2626
DistrhoUI3BandSplitter::DistrhoUI3BandSplitter()
27-
: UI(Art::backgroundWidth, Art::backgroundHeight, true),
27+
: UI(Art::backgroundWidth, Art::backgroundHeight, kInternalScalingMatchingHost),
2828
fImgBackground(Art::backgroundData, Art::backgroundWidth, Art::backgroundHeight, kImageFormatBGR),
2929
fAboutWindow(this)
3030
{

plugins/3BandSplitter/DistrhoUI3BandSplitter.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* DISTRHO 3BandSplitter Plugin, based on 3BandSplitter by Michael Gruhn
3-
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com>
3+
* Copyright (C) 2012-2026 Filipe Coelho <falktx@falktx.com>
44
*
55
* This program is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public
@@ -20,8 +20,6 @@
2020
#include "DistrhoUI.hpp"
2121
#include "ImageWidgets.hpp"
2222

23-
#include "DistrhoArtwork3BandSplitter.hpp"
24-
2523
START_NAMESPACE_DISTRHO
2624

2725
// -----------------------------------------------------------------------

plugins/PingPongPan/DistrhoPluginInfo.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* DISTRHO PingPongPan Plugin, based on PingPongPan by Michael Gruhn
3-
* Copyright (C) 2012-2024 Filipe Coelho <falktx@falktx.com>
3+
* Copyright (C) 2012-2026 Filipe Coelho <falktx@falktx.com>
44
*
55
* This program is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public
@@ -17,6 +17,8 @@
1717
#ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED
1818
#define DISTRHO_PLUGIN_INFO_H_INCLUDED
1919

20+
#include "DistrhoArtworkPingPongPan.hpp"
21+
2022
#define DISTRHO_PLUGIN_BRAND "DISTRHO"
2123
#define DISTRHO_PLUGIN_NAME "Ping Pong Pan"
2224
#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/PingPongPan"
@@ -35,6 +37,9 @@
3537
#define DISTRHO_PLUGIN_LV2_CATEGORY "lv2:SpatialPlugin"
3638
#define DISTRHO_PLUGIN_VST3_CATEGORIES "Fx|Spatial"
3739

40+
#define DISTRHO_UI_DEFAULT_WIDTH DistrhoArtworkPingPongPan::backgroundWidth
41+
#define DISTRHO_UI_DEFAULT_HEIGHT DistrhoArtworkPingPongPan::backgroundHeight
42+
3843
#define DPF_VST3_DONT_USE_BRAND_ID
3944

4045
#endif // DISTRHO_PLUGIN_INFO_H_INCLUDED

plugins/PingPongPan/DistrhoUIPingPongPan.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* DISTRHO PingPongPan Plugin, based on PingPongPan by Michael Gruhn
3-
* Copyright (C) 2012-2021 Filipe Coelho <falktx@falktx.com>
3+
* Copyright (C) 2012-2026 Filipe Coelho <falktx@falktx.com>
44
*
55
* This program is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public
@@ -24,7 +24,7 @@ namespace Art = DistrhoArtworkPingPongPan;
2424
// -----------------------------------------------------------------------
2525

2626
DistrhoUIPingPongPan::DistrhoUIPingPongPan()
27-
: UI(Art::backgroundWidth, Art::backgroundHeight, true),
27+
: UI(Art::backgroundWidth, Art::backgroundHeight, kInternalScalingMatchingHost),
2828
fImgBackground(Art::backgroundData, Art::backgroundWidth, Art::backgroundHeight, kImageFormatBGR),
2929
fAboutWindow(this)
3030
{

plugins/PingPongPan/DistrhoUIPingPongPan.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* DISTRHO PingPongPan Plugin, based on PingPongPan by Michael Gruhn
3-
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com>
3+
* Copyright (C) 2012-2026 Filipe Coelho <falktx@falktx.com>
44
*
55
* This program is free software; you can redistribute it and/or
66
* modify it under the terms of the GNU Lesser General Public
@@ -20,8 +20,6 @@
2020
#include "DistrhoUI.hpp"
2121
#include "ImageWidgets.hpp"
2222

23-
#include "DistrhoArtworkPingPongPan.hpp"
24-
2523
START_NAMESPACE_DISTRHO
2624

2725
// -----------------------------------------------------------------------

0 commit comments

Comments
 (0)