From 101ed7916ea2e5d3194f800bd4b1063e2c04f9c2 Mon Sep 17 00:00:00 2001 From: dreamer Date: Fri, 3 May 2024 11:01:05 +0200 Subject: [PATCH] some more symbol fixes? --- plugins/Makefile | 6 +++--- plugins/plugins.cpp | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/plugins/Makefile b/plugins/Makefile index 8a9bc28b..97f0d81c 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -411,7 +411,7 @@ PLUGIN_FILES += AS/freeverb/revmodel.cpp # modules/types which are present in other plugins AS_CUSTOM = ADSR BpmDisplayWidget LabelDisplayWidget LedLight LowFrequencyOscillator SigDisplayWidget VCA WaveShaper YellowRedLight allpass comb revmodel -AS_CUSTOM_PER_FILE = NumberDisplayWidget +AS_CUSTOM_PER_FILE = NumberDisplayWidget MsDisplayWidget # -------------------------------------------------------------- # AudibleInstruments @@ -846,7 +846,7 @@ LILACLOOP_CUSTOM = AudioFile Mode PLUGIN_FILES += $(filter-out LittleUtils/src/plugin.cpp,$(wildcard LittleUtils/src/*.cpp)) # modules/types which are present in other plugins -LITTLEUTILS_CUSTOM = MsDisplayWidget MAX_POLY_CHANNELS +LITTLEUTILS_CUSTOM = CustomTrimpot MsDisplayWidget MAX_POLY_CHANNELS # -------------------------------------------------------------- # LomasModules @@ -976,7 +976,7 @@ PATHSET_CUSTOM = PitchShifter PLUGIN_FILES += $(filter-out PdArray/src/plugin.cpp,$(wildcard PdArray/src/*.cpp)) # modules/types which are present in other plugins -PDARRAY_CUSTOM = $(DRWAV) MAX_POLY_CHANNELS TextBox +PDARRAY_CUSTOM = $(DRWAV) MAX_POLY_CHANNELS TextBox CustomTrimpot MsDisplayWidget # -------------------------------------------------------------- # PinkTrombone diff --git a/plugins/plugins.cpp b/plugins/plugins.cpp index 47916f93..ec459d0c 100644 --- a/plugins/plugins.cpp +++ b/plugins/plugins.cpp @@ -779,9 +779,13 @@ extern Model* modelBlankPanel; // PdArray #define MAX_POLY_CHANNELS PDARRAYMAX_POLY_CHANNELS #define TextBox PdArrayTextBox +#define CustomTrimpot PdArrayCustomTrimpot +#define MsDisplayWidget PdArrayMsDisplayWidget #include "PdArray/src/plugin.hpp" #undef PDARRAYMAX_POLY_CHANNELS #undef Textbox +#undef CustomTrimpot +#undef MsDisplayWidget // PinkTrombone #include "PinkTrombone/src/plugin.hpp" @@ -2932,11 +2936,15 @@ static void initStatic__PdArray() { #define MAX_POLY_CHANNELS PDARRAYMAX_POLY_CHANNELS #define TextBox PdArrayTextBox +#define CustomTrimpot PdArrayCustomTrimpot +#define MsDisplayWidget PdArrayMsDisplayWidget p->addModel(modelArray); p->addModel(modelMiniramp); p->addModel(modelMinistep); #undef PDARRAYMAX_POLY_CHANNELS #undef TextBox +#undef CustomTrimpot +#undef MsDisplayWidget } }