@@ -1,5 +1,8 @@ | |||||
All **source code** is copyright © 2019-2020 Andrew Belt and Befaco contributers. | |||||
All **source code** is copyright © 2019-2021 [VCV](https://vcvrack.com/) and contributers. | |||||
This program is free software: you can redistribute it and/or modify it under the terms of the [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.en.html) as published by the [Free Software Foundation](https://www.fsf.org/), either version 3 of the License, or (at your option) any later version. | This program is free software: you can redistribute it and/or modify it under the terms of the [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.en.html) as published by the [Free Software Foundation](https://www.fsf.org/), either version 3 of the License, or (at your option) any later version. | ||||
The **panel graphics** in the `res/` directory are copyright © Befaco and are used and distributed with permission. | |||||
The **panel graphics** in the `res/panels/` directory are copyright © [Befaco](https://www.befaco.org/) and are used and distributed with permission. | |||||
The **component graphics** in the `res/components/` directory are copyright © [VCV](https://vcvrack.com/) and licensed under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/). | |||||
Non-commercial use is allowed with appropriate credit and indication of the original license. |
@@ -4,6 +4,8 @@ Based on [Befaco](http://www.befaco.org/) Eurorack modules. | |||||
[VCV Library page](https://library.vcvrack.com/Befaco) | [VCV Library page](https://library.vcvrack.com/Befaco) | ||||
[License](LICENSE.md) | |||||
## Differences with hardware | ## Differences with hardware | ||||
@@ -114,7 +114,7 @@ struct ABC : Module { | |||||
struct ABCWidget : ModuleWidget { | struct ABCWidget : ModuleWidget { | ||||
ABCWidget(ABC* module) { | ABCWidget(ABC* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/ABC.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/ABC.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(15, 0))); | addChild(createWidget<Knurlie>(Vec(15, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(15, 365))); | addChild(createWidget<Knurlie>(Vec(15, 365))); | ||||
@@ -304,7 +304,7 @@ struct ADSR : Module { | |||||
struct ADSRWidget : ModuleWidget { | struct ADSRWidget : ModuleWidget { | ||||
ADSRWidget(ADSR* module) { | ADSRWidget(ADSR* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/ADSR.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/ADSR.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | ||||
@@ -306,7 +306,7 @@ struct ChoppingKinky : Module { | |||||
struct ChoppingKinkyWidget : ModuleWidget { | struct ChoppingKinkyWidget : ModuleWidget { | ||||
ChoppingKinkyWidget(ChoppingKinky* module) { | ChoppingKinkyWidget(ChoppingKinky* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/ChoppingKinky.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/ChoppingKinky.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | ||||
@@ -99,7 +99,7 @@ struct DualAtenuverter : Module { | |||||
struct DualAtenuverterWidget : ModuleWidget { | struct DualAtenuverterWidget : ModuleWidget { | ||||
DualAtenuverterWidget(DualAtenuverter* module) { | DualAtenuverterWidget(DualAtenuverter* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/DualAtenuverter.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/DualAtenuverter.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(15, 0))); | addChild(createWidget<Knurlie>(Vec(15, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(15, 365))); | addChild(createWidget<Knurlie>(Vec(15, 365))); | ||||
@@ -215,7 +215,7 @@ struct EvenVCO : Module { | |||||
struct EvenVCOWidget : ModuleWidget { | struct EvenVCOWidget : ModuleWidget { | ||||
EvenVCOWidget(EvenVCO* module) { | EvenVCOWidget(EvenVCO* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/EvenVCO.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/EvenVCO.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(15, 0))); | addChild(createWidget<Knurlie>(Vec(15, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(15, 365))); | addChild(createWidget<Knurlie>(Vec(15, 365))); | ||||
@@ -146,7 +146,7 @@ struct HexmixVCA : Module { | |||||
struct HexmixVCAWidget : ModuleWidget { | struct HexmixVCAWidget : ModuleWidget { | ||||
HexmixVCAWidget(HexmixVCA* module) { | HexmixVCAWidget(HexmixVCA* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/HexmixVCA.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/HexmixVCA.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | ||||
@@ -127,7 +127,7 @@ struct Kickall : Module { | |||||
struct KickallWidget : ModuleWidget { | struct KickallWidget : ModuleWidget { | ||||
KickallWidget(Kickall* module) { | KickallWidget(Kickall* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/Kickall.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/Kickall.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); | addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); | ||||
@@ -97,7 +97,7 @@ struct Mex : Module { | |||||
struct MexWidget : ModuleWidget { | struct MexWidget : ModuleWidget { | ||||
MexWidget(Mex* module) { | MexWidget(Mex* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/Mex.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/Mex.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); | addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); | ||||
@@ -106,7 +106,7 @@ struct Mixer : Module { | |||||
struct MixerWidget : ModuleWidget { | struct MixerWidget : ModuleWidget { | ||||
MixerWidget(Mixer* module) { | MixerWidget(Mixer* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/Mixer.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/Mixer.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(15, 0))); | addChild(createWidget<Knurlie>(Vec(15, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(15, 365))); | addChild(createWidget<Knurlie>(Vec(15, 365))); | ||||
@@ -232,7 +232,7 @@ struct Morphader : Module { | |||||
struct MorphaderWidget : ModuleWidget { | struct MorphaderWidget : ModuleWidget { | ||||
MorphaderWidget(Morphader* module) { | MorphaderWidget(Morphader* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/Morphader.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/Morphader.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | ||||
@@ -702,7 +702,7 @@ struct MuxlicerWidget : ModuleWidget { | |||||
MuxlicerWidget(Muxlicer* module) { | MuxlicerWidget(Muxlicer* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/Muxlicer.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/Muxlicer.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | ||||
@@ -171,7 +171,7 @@ struct Percall : Module { | |||||
struct PercallWidget : ModuleWidget { | struct PercallWidget : ModuleWidget { | ||||
PercallWidget(Percall* module) { | PercallWidget(Percall* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/Percall.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/Percall.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | ||||
@@ -343,7 +343,7 @@ struct Rampage : Module { | |||||
struct RampageWidget : ModuleWidget { | struct RampageWidget : ModuleWidget { | ||||
RampageWidget(Rampage* module) { | RampageWidget(Rampage* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/Rampage.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/Rampage.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(15, 0))); | addChild(createWidget<Knurlie>(Vec(15, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(box.size.x - 30, 0))); | addChild(createWidget<Knurlie>(Vec(box.size.x - 30, 0))); | ||||
@@ -105,7 +105,7 @@ struct STMix : Module { | |||||
struct STMixWidget : ModuleWidget { | struct STMixWidget : ModuleWidget { | ||||
STMixWidget(STMix* module) { | STMixWidget(STMix* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/STMix.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/STMix.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); | addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); | ||||
@@ -217,7 +217,7 @@ struct SamplingModulator : Module { | |||||
struct SamplingModulatorWidget : ModuleWidget { | struct SamplingModulatorWidget : ModuleWidget { | ||||
SamplingModulatorWidget(SamplingModulator* module) { | SamplingModulatorWidget(SamplingModulator* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/SamplingModulator.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/SamplingModulator.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(RACK_GRID_WIDTH, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | addChild(createWidget<Knurlie>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); | ||||
@@ -91,7 +91,7 @@ struct SlewLimiter : Module { | |||||
struct SlewLimiterWidget : ModuleWidget { | struct SlewLimiterWidget : ModuleWidget { | ||||
SlewLimiterWidget(SlewLimiter* module) { | SlewLimiterWidget(SlewLimiter* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/SlewLimiter.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/SlewLimiter.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(15, 0))); | addChild(createWidget<Knurlie>(Vec(15, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(15, 365))); | addChild(createWidget<Knurlie>(Vec(15, 365))); | ||||
@@ -150,7 +150,7 @@ struct SpringReverb : Module { | |||||
struct SpringReverbWidget : ModuleWidget { | struct SpringReverbWidget : ModuleWidget { | ||||
SpringReverbWidget(SpringReverb* module) { | SpringReverbWidget(SpringReverb* module) { | ||||
setModule(module); | setModule(module); | ||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/SpringReverb.svg"))); | |||||
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/panels/SpringReverb.svg"))); | |||||
addChild(createWidget<Knurlie>(Vec(15, 0))); | addChild(createWidget<Knurlie>(Vec(15, 0))); | ||||
addChild(createWidget<Knurlie>(Vec(15, 365))); | addChild(createWidget<Knurlie>(Vec(15, 365))); | ||||
@@ -28,7 +28,7 @@ extern Model* modelMex; | |||||
struct Knurlie : SvgScrew { | struct Knurlie : SvgScrew { | ||||
Knurlie() { | Knurlie() { | ||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/Knurlie.svg"))); | |||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/Knurlie.svg"))); | |||||
} | } | ||||
}; | }; | ||||
@@ -38,49 +38,49 @@ struct BefacoTinyKnobWhite : BefacoTinyKnob { | |||||
struct BefacoTinyKnobRed : BefacoTinyKnob { | struct BefacoTinyKnobRed : BefacoTinyKnob { | ||||
BefacoTinyKnobRed() { | BefacoTinyKnobRed() { | ||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyPointWhite.svg"))); | |||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyKnobRed_bg.svg"))); | |||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/BefacoTinyPointWhite.svg"))); | |||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/BefacoTinyKnobRed_bg.svg"))); | |||||
} | } | ||||
}; | }; | ||||
struct BefacoTinyKnobDarkGrey : BefacoTinyKnob { | struct BefacoTinyKnobDarkGrey : BefacoTinyKnob { | ||||
BefacoTinyKnobDarkGrey() { | BefacoTinyKnobDarkGrey() { | ||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyPointWhite.svg"))); | |||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyKnobDarkGrey_bg.svg"))); | |||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/BefacoTinyPointWhite.svg"))); | |||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/BefacoTinyKnobDarkGrey_bg.svg"))); | |||||
} | } | ||||
}; | }; | ||||
struct BefacoTinyKnobLightGrey : BefacoTinyKnob { | struct BefacoTinyKnobLightGrey : BefacoTinyKnob { | ||||
BefacoTinyKnobLightGrey() { | BefacoTinyKnobLightGrey() { | ||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyKnobLightGrey_bg.svg"))); | |||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/BefacoTinyKnobLightGrey_bg.svg"))); | |||||
} | } | ||||
}; | }; | ||||
struct BefacoTinyKnobBlack : BefacoTinyKnob { | struct BefacoTinyKnobBlack : BefacoTinyKnob { | ||||
BefacoTinyKnobBlack() { | BefacoTinyKnobBlack() { | ||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyPointWhite.svg"))); | |||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyKnobBlack_bg.svg"))); | |||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/BefacoTinyPointWhite.svg"))); | |||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/BefacoTinyKnobBlack_bg.svg"))); | |||||
} | } | ||||
}; | }; | ||||
struct Davies1900hLargeGreyKnob : Davies1900hKnob { | struct Davies1900hLargeGreyKnob : Davies1900hKnob { | ||||
Davies1900hLargeGreyKnob() { | Davies1900hLargeGreyKnob() { | ||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hLargeGrey.svg"))); | |||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hLargeGrey_bg.svg"))); | |||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/Davies1900hLargeGrey.svg"))); | |||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/Davies1900hLargeGrey_bg.svg"))); | |||||
} | } | ||||
}; | }; | ||||
struct Davies1900hLightGreyKnob : Davies1900hKnob { | struct Davies1900hLightGreyKnob : Davies1900hKnob { | ||||
Davies1900hLightGreyKnob() { | Davies1900hLightGreyKnob() { | ||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hLightGrey.svg"))); | |||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hLightGrey_bg.svg"))); | |||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/Davies1900hLightGrey.svg"))); | |||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/Davies1900hLightGrey_bg.svg"))); | |||||
} | } | ||||
}; | }; | ||||
struct Davies1900hDarkGreyKnob : Davies1900hKnob { | struct Davies1900hDarkGreyKnob : Davies1900hKnob { | ||||
Davies1900hDarkGreyKnob() { | Davies1900hDarkGreyKnob() { | ||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hDarkGrey.svg"))); | |||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hDarkGrey_bg.svg"))); | |||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/Davies1900hDarkGrey.svg"))); | |||||
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/Davies1900hDarkGrey_bg.svg"))); | |||||
} | } | ||||
}; | }; | ||||
@@ -89,7 +89,7 @@ using Davies1900hDarkBlackAlt = Davies1900hBlackKnob; | |||||
struct BananutRed : app::SvgPort { | struct BananutRed : app::SvgPort { | ||||
BananutRed() { | BananutRed() { | ||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/BananutRed.svg"))); | |||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/BananutRed.svg"))); | |||||
} | } | ||||
}; | }; | ||||
/** Deprecated alias */ | /** Deprecated alias */ | ||||
@@ -97,7 +97,7 @@ using BefacoOutputPort = BananutRed; | |||||
struct BananutBlack : app::SvgPort { | struct BananutBlack : app::SvgPort { | ||||
BananutBlack() { | BananutBlack() { | ||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/BananutBlack.svg"))); | |||||
setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/BananutBlack.svg"))); | |||||
} | } | ||||
}; | }; | ||||
/** Deprecated alias */ | /** Deprecated alias */ | ||||
@@ -105,15 +105,15 @@ using BefacoInputPort = BananutRed; | |||||
struct CKSSNarrow : app::SvgSwitch { | struct CKSSNarrow : app::SvgSwitch { | ||||
CKSSNarrow() { | CKSSNarrow() { | ||||
addFrame(Svg::load(asset::plugin(pluginInstance, "res/SwitchNarrow_0.svg"))); | |||||
addFrame(Svg::load(asset::plugin(pluginInstance, "res/SwitchNarrow_1.svg"))); | |||||
addFrame(Svg::load(asset::plugin(pluginInstance, "res/components/SwitchNarrow_0.svg"))); | |||||
addFrame(Svg::load(asset::plugin(pluginInstance, "res/components/SwitchNarrow_1.svg"))); | |||||
} | } | ||||
}; | }; | ||||
struct Crossfader : app::SvgSlider { | struct Crossfader : app::SvgSlider { | ||||
Crossfader() { | Crossfader() { | ||||
setBackgroundSvg(Svg::load(asset::plugin(pluginInstance, "res/CrossfaderBackground.svg"))); | |||||
setHandleSvg(Svg::load(asset::plugin(pluginInstance, "res/CrossfaderHandle.svg"))); | |||||
setBackgroundSvg(Svg::load(asset::plugin(pluginInstance, "res/components/CrossfaderBackground.svg"))); | |||||
setHandleSvg(Svg::load(asset::plugin(pluginInstance, "res/components/CrossfaderHandle.svg"))); | |||||
minHandlePos = mm2px(Vec(4.5f, -0.8f)); | minHandlePos = mm2px(Vec(4.5f, -0.8f)); | ||||
maxHandlePos = mm2px(Vec(34.5, -0.8f)); | maxHandlePos = mm2px(Vec(34.5, -0.8f)); | ||||
horizontal = true; | horizontal = true; | ||||
@@ -125,9 +125,9 @@ struct Crossfader : app::SvgSlider { | |||||
struct BefacoSwitchHorizontal : app::SvgSwitch { | struct BefacoSwitchHorizontal : app::SvgSwitch { | ||||
BefacoSwitchHorizontal() { | BefacoSwitchHorizontal() { | ||||
addFrame(Svg::load(asset::plugin(pluginInstance, "res/BefacoSwitchHoriz_0.svg"))); | |||||
addFrame(Svg::load(asset::plugin(pluginInstance, "res/BefacoSwitchHoriz_1.svg"))); | |||||
addFrame(Svg::load(asset::plugin(pluginInstance, "res/BefacoSwitchHoriz_2.svg"))); | |||||
addFrame(Svg::load(asset::plugin(pluginInstance, "res/components/BefacoSwitchHoriz_0.svg"))); | |||||
addFrame(Svg::load(asset::plugin(pluginInstance, "res/components/BefacoSwitchHoriz_1.svg"))); | |||||
addFrame(Svg::load(asset::plugin(pluginInstance, "res/components/BefacoSwitchHoriz_2.svg"))); | |||||
} | } | ||||
}; | }; | ||||