diff --git a/res/ABC.png b/res/ABC.png deleted file mode 100644 index b0db50d..0000000 Binary files a/res/ABC.png and /dev/null differ diff --git a/res/ABC.svg b/res/ABC.svg new file mode 100644 index 0000000..b8032e0 --- /dev/null +++ b/res/ABC.svg @@ -0,0 +1,2084 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/DualAtenuverter.png b/res/DualAtenuverter.png deleted file mode 100644 index 43a8981..0000000 Binary files a/res/DualAtenuverter.png and /dev/null differ diff --git a/res/DualAtenuverter.svg b/res/DualAtenuverter.svg new file mode 100644 index 0000000..ee5b983 --- /dev/null +++ b/res/DualAtenuverter.svg @@ -0,0 +1,1878 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/EvenVCO.png b/res/EvenVCO.png deleted file mode 100644 index b257162..0000000 Binary files a/res/EvenVCO.png and /dev/null differ diff --git a/res/EvenVCO.svg b/res/EvenVCO.svg new file mode 100644 index 0000000..cab7abd --- /dev/null +++ b/res/EvenVCO.svg @@ -0,0 +1,1842 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/Mixer.png b/res/Mixer.png deleted file mode 100644 index 87c53f9..0000000 Binary files a/res/Mixer.png and /dev/null differ diff --git a/res/Mixer.svg b/res/Mixer.svg new file mode 100644 index 0000000..d20c8ac --- /dev/null +++ b/res/Mixer.svg @@ -0,0 +1,2032 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/Rampage.png b/res/Rampage.png deleted file mode 100644 index bed3716..0000000 Binary files a/res/Rampage.png and /dev/null differ diff --git a/res/SlewLimiter.png b/res/SlewLimiter.png deleted file mode 100644 index 7f0f35e..0000000 Binary files a/res/SlewLimiter.png and /dev/null differ diff --git a/res/SlewLimiter.svg b/res/SlewLimiter.svg new file mode 100644 index 0000000..b5e571d --- /dev/null +++ b/res/SlewLimiter.svg @@ -0,0 +1,2139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/SpringReverb.png b/res/SpringReverb.png deleted file mode 100644 index 1a3d940..0000000 Binary files a/res/SpringReverb.png and /dev/null differ diff --git a/res/SpringReverb.svg b/res/SpringReverb.svg new file mode 100644 index 0000000..f718256 --- /dev/null +++ b/res/SpringReverb.svg @@ -0,0 +1,1932 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/src/ABC.cpp b/src/ABC.cpp index 19102ec..7d1a1da 100644 --- a/src/ABC.cpp +++ b/src/ABC.cpp @@ -74,9 +74,9 @@ ABCWidget::ABCWidget() { box.size = Vec(15*6, 380); { - Panel *panel = new DarkPanel(); + SVGPanel *panel = new SVGPanel(); panel->box.size = box.size; - panel->backgroundImage = Image::load("plugins/Befaco/res/ABC.png"); + panel->setBackground(SVG::load("plugins/Befaco/res/ABC.svg")); addChild(panel); } @@ -98,5 +98,5 @@ ABCWidget::ABCWidget() { addOutput(createOutput(Vec(2, 317), module, ABC::OUT2_OUTPUT)); addChild(createValueLight>(Vec(38, 162), &module->lights[0])); - addChild(createValueLight>(Vec(38, 329), &module->lights[1])); + addChild(createValueLight>(Vec(38, 330), &module->lights[1])); } diff --git a/src/DualAtenuverter.cpp b/src/DualAtenuverter.cpp index 75ecc90..f9122ff 100644 --- a/src/DualAtenuverter.cpp +++ b/src/DualAtenuverter.cpp @@ -53,19 +53,19 @@ DualAtenuverterWidget::DualAtenuverterWidget() { box.size = Vec(15*5, 380); { - Panel *panel = new DarkPanel(); + SVGPanel *panel = new SVGPanel(); panel->box.size = box.size; - panel->backgroundImage = Image::load("plugins/Befaco/res/DualAtenuverter.png"); + panel->setBackground(SVG::load("plugins/Befaco/res/DualAtenuverter.svg")); addChild(panel); } addChild(createScrew(Vec(15, 0))); addChild(createScrew(Vec(15, 365))); - addParam(createParam(Vec(19, 33), module, DualAtenuverter::ATEN1_PARAM, -1.0, 1.0, 0.0)); - addParam(createParam(Vec(19, 91), module, DualAtenuverter::OFFSET1_PARAM, -10.0, 10.0, 0.0)); - addParam(createParam(Vec(19, 201), module, DualAtenuverter::ATEN2_PARAM, -1.0, 1.0, 0.0)); - addParam(createParam(Vec(19, 260), module, DualAtenuverter::OFFSET2_PARAM, -10.0, 10.0, 0.0)); + addParam(createParam(Vec(20, 33), module, DualAtenuverter::ATEN1_PARAM, -1.0, 1.0, 0.0)); + addParam(createParam(Vec(20, 91), module, DualAtenuverter::OFFSET1_PARAM, -10.0, 10.0, 0.0)); + addParam(createParam(Vec(20, 201), module, DualAtenuverter::ATEN2_PARAM, -1.0, 1.0, 0.0)); + addParam(createParam(Vec(20, 260), module, DualAtenuverter::OFFSET2_PARAM, -10.0, 10.0, 0.0)); addInput(createInput(Vec(4, 149), module, DualAtenuverter::IN1_INPUT)); addOutput(createOutput(Vec(39, 149), module, DualAtenuverter::OUT1_OUTPUT)); diff --git a/src/EvenVCO.cpp b/src/EvenVCO.cpp index cb562a9..4089b26 100644 --- a/src/EvenVCO.cpp +++ b/src/EvenVCO.cpp @@ -140,9 +140,9 @@ EvenVCOWidget::EvenVCOWidget() { box.size = Vec(15*8, 380); { - Panel *panel = new DarkPanel(); + SVGPanel *panel = new SVGPanel(); panel->box.size = box.size; - panel->backgroundImage = Image::load("plugins/Befaco/res/EvenVCO.png"); + panel->setBackground(SVG::load("plugins/Befaco/res/EvenVCO.svg")); addChild(panel); } @@ -152,7 +152,7 @@ EvenVCOWidget::EvenVCOWidget() { addChild(createScrew(Vec(15*6, 365))); addParam(createParam(Vec(24-4+2, 35-4+1), module, EvenVCO::OCTAVE_PARAM, -5.0, 4.0, 0.0)); - addParam(createParam(Vec(72, 131), module, EvenVCO::TUNE_PARAM, -7.0, 7.0, 0.0)); + addParam(createParam(Vec(73, 131), module, EvenVCO::TUNE_PARAM, -7.0, 7.0, 0.0)); addParam(createParam(Vec(16, 230), module, EvenVCO::PWM_PARAM, -1.0, 1.0, 0.0)); addInput(createInput(Vec(13-7-1, 124-7), module, EvenVCO::PITCH1_INPUT)); diff --git a/src/Mixer.cpp b/src/Mixer.cpp index 6d5578a..84d9135 100644 --- a/src/Mixer.cpp +++ b/src/Mixer.cpp @@ -54,9 +54,9 @@ MixerWidget::MixerWidget() { box.size = Vec(15*5, 380); { - Panel *panel = new DarkPanel(); + SVGPanel *panel = new SVGPanel(); panel->box.size = box.size; - panel->backgroundImage = Image::load("plugins/Befaco/res/Mixer.png"); + panel->setBackground(SVG::load("plugins/Befaco/res/Mixer.svg")); addChild(panel); } diff --git a/src/SlewLimiter.cpp b/src/SlewLimiter.cpp index 445d071..a50ee42 100644 --- a/src/SlewLimiter.cpp +++ b/src/SlewLimiter.cpp @@ -69,23 +69,23 @@ SlewLimiterWidget::SlewLimiterWidget() { box.size = Vec(15*6, 380); { - Panel *panel = new DarkPanel(); + SVGPanel *panel = new SVGPanel(); panel->box.size = box.size; - panel->backgroundImage = Image::load("plugins/Befaco/res/SlewLimiter.png"); + panel->setBackground(SVG::load("plugins/Befaco/res/SlewLimiter.svg")); addChild(panel); } addChild(createScrew(Vec(15, 0))); addChild(createScrew(Vec(15, 365))); - addParam(createParam(Vec(26, 39), module, ::SlewLimiter::SHAPE_PARAM, 0.0, 1.0, 0.0)); + addParam(createParam(Vec(27, 39), module, ::SlewLimiter::SHAPE_PARAM, 0.0, 1.0, 0.0)); addParam(createParam(Vec(15, 102), module, ::SlewLimiter::RISE_PARAM, 0.0, 1.0, 0.0)); addParam(createParam(Vec(60, 102), module, ::SlewLimiter::FALL_PARAM, 0.0, 1.0, 0.0)); - addInput(createInput(Vec(6, 270), module, ::SlewLimiter::RISE_INPUT)); + addInput(createInput(Vec(7, 270), module, ::SlewLimiter::RISE_INPUT)); addInput(createInput(Vec(52, 270), module, ::SlewLimiter::FALL_INPUT)); - addInput(createInput(Vec(6, 320), module, ::SlewLimiter::IN_INPUT)); + addInput(createInput(Vec(7, 320), module, ::SlewLimiter::IN_INPUT)); addOutput(createOutput(Vec(52, 320), module, ::SlewLimiter::OUT_OUTPUT)); } diff --git a/src/SpringReverb.cpp b/src/SpringReverb.cpp index 8e2717d..9cdbe87 100644 --- a/src/SpringReverb.cpp +++ b/src/SpringReverb.cpp @@ -266,9 +266,9 @@ SpringReverbWidget::SpringReverbWidget() { box.size = Vec(15*8, 380); { - Panel *panel = new DarkPanel(); + SVGPanel *panel = new SVGPanel(); panel->box.size = box.size; - panel->backgroundImage = Image::load("plugins/Befaco/res/SpringReverb.png"); + panel->setBackground(SVG::load("plugins/Befaco/res/SpringReverb.svg")); addChild(panel); } @@ -280,26 +280,26 @@ SpringReverbWidget::SpringReverbWidget() { addParam(createParam(Vec(22, 29), module, SpringReverb::WET_PARAM, 0.0, 1.0, 0.5)); addParam(createParam(Vec(12, 116), module, SpringReverb::LEVEL1_PARAM, 0.0, 1.0, 0.0)); - addParam(createParam(Vec(92, 116), module, SpringReverb::LEVEL2_PARAM, 0.0, 1.0, 0.0)); + addParam(createParam(Vec(93, 116), module, SpringReverb::LEVEL2_PARAM, 0.0, 1.0, 0.0)); - addParam(createParam(Vec(41, 209), module, SpringReverb::HPF_PARAM, 0.0, 1.0, 0.5)); + addParam(createParam(Vec(42, 210), module, SpringReverb::HPF_PARAM, 0.0, 1.0, 0.5)); - addInput(createInput(Vec(6-3, 243-3), module, SpringReverb::CV1_INPUT)); - addInput(createInput(Vec(86-3, 243-3), module, SpringReverb::CV2_INPUT)); - addInput(createInput(Vec(26-3, 281-3), module, SpringReverb::IN1_INPUT)); - addInput(createInput(Vec(65-3, 281-3), module, SpringReverb::IN2_INPUT)); + addInput(createInput(Vec(4, 240), module, SpringReverb::CV1_INPUT)); + addInput(createInput(Vec(84, 240), module, SpringReverb::CV2_INPUT)); + addInput(createInput(Vec(24, 278), module, SpringReverb::IN1_INPUT)); + addInput(createInput(Vec(63, 278), module, SpringReverb::IN2_INPUT)); - addOutput(createOutput(Vec(6-3, 317-3), module, SpringReverb::MIX_OUTPUT)); - addInput(createInput(Vec(46-3, 324-3), module, SpringReverb::MIX_CV_INPUT)); - addOutput(createOutput(Vec(87-3, 317-3), module, SpringReverb::WET_OUTPUT)); + addOutput(createOutput(Vec(4, 314), module, SpringReverb::MIX_OUTPUT)); + addInput(createInput(Vec(44, 321), module, SpringReverb::MIX_CV_INPUT)); + addOutput(createOutput(Vec(85, 314), module, SpringReverb::WET_OUTPUT)); - addChild(createValueLight>(Vec(55, 114), &module->vuLights[0])); - addChild(createValueLight>(Vec(55, 127), &module->vuLights[1])); - addChild(createValueLight>(Vec(55, 139), &module->vuLights[2])); - addChild(createValueLight>(Vec(55, 151), &module->vuLights[3])); - addChild(createValueLight>(Vec(55, 164), &module->vuLights[4])); - addChild(createValueLight>(Vec(55, 176), &module->vuLights[5])); - addChild(createValueLight>(Vec(55, 189), &module->vuLights[6])); + addChild(createValueLight>(Vec(56, 114), &module->vuLights[0])); + addChild(createValueLight>(Vec(56, 127), &module->vuLights[1])); + addChild(createValueLight>(Vec(56, 139), &module->vuLights[2])); + addChild(createValueLight>(Vec(56, 151), &module->vuLights[3])); + addChild(createValueLight>(Vec(56, 164), &module->vuLights[4])); + addChild(createValueLight>(Vec(56, 176), &module->vuLights[5])); + addChild(createValueLight>(Vec(56, 189), &module->vuLights[6])); - addChild(createValueLight>(Vec(55, 270), &module->lights[0])); + addChild(createValueLight>(Vec(56, 270), &module->lights[0])); }