Browse Source

Move components and panels to their own res/ subdir. Add component license to LICENSE.md.

tags/v2.1.0
Andrew Belt 3 years ago
parent
commit
d3166352ec
61 changed files with 47 additions and 42 deletions
  1. +5
    -2
      LICENSE.md
  2. +2
    -0
      README.md
  3. +0
    -0
      res/components/BananutBlack.svg
  4. +0
    -0
      res/components/BananutRed.svg
  5. +0
    -0
      res/components/BefacoButton_0.svg
  6. +0
    -0
      res/components/BefacoButton_1.svg
  7. +0
    -0
      res/components/BefacoSwitchHoriz_0.svg
  8. +0
    -0
      res/components/BefacoSwitchHoriz_1.svg
  9. +0
    -0
      res/components/BefacoSwitchHoriz_2.svg
  10. +0
    -0
      res/components/BefacoTinyKnobBlack_bg.svg
  11. +0
    -0
      res/components/BefacoTinyKnobDarkGrey_bg.svg
  12. +0
    -0
      res/components/BefacoTinyKnobLightGrey_bg.svg
  13. +0
    -0
      res/components/BefacoTinyKnobRed_bg.svg
  14. +0
    -0
      res/components/BefacoTinyPointWhite.svg
  15. +0
    -0
      res/components/CrossfaderBackground.svg
  16. +0
    -0
      res/components/CrossfaderHandle.svg
  17. +0
    -0
      res/components/Davies1900hBlack.svg
  18. +0
    -0
      res/components/Davies1900hDarkGrey.svg
  19. +0
    -0
      res/components/Davies1900hDarkGrey_bg.svg
  20. +0
    -0
      res/components/Davies1900hLargeGrey.svg
  21. +0
    -0
      res/components/Davies1900hLargeGrey_bg.svg
  22. +0
    -0
      res/components/Davies1900hLightGrey.svg
  23. +0
    -0
      res/components/Davies1900hLightGrey_bg.svg
  24. +0
    -0
      res/components/Knurlie.svg
  25. +0
    -0
      res/components/SwitchNarrow_0.svg
  26. +0
    -0
      res/components/SwitchNarrow_1.svg
  27. +0
    -0
      res/panels/ABC.svg
  28. +0
    -0
      res/panels/ADSR.svg
  29. +0
    -0
      res/panels/ChoppingKinky.svg
  30. +0
    -0
      res/panels/DualAtenuverter.svg
  31. +0
    -0
      res/panels/EvenVCO.svg
  32. +0
    -0
      res/panels/HexmixVCA.svg
  33. +0
    -0
      res/panels/Kickall.svg
  34. +0
    -0
      res/panels/Mex.svg
  35. +0
    -0
      res/panels/Mixer.svg
  36. +0
    -0
      res/panels/Morphader.svg
  37. +0
    -0
      res/panels/Muxlicer.svg
  38. +0
    -0
      res/panels/Percall.svg
  39. +0
    -0
      res/panels/Rampage.svg
  40. +0
    -0
      res/panels/STMix.svg
  41. +0
    -0
      res/panels/SamplingModulator.svg
  42. +0
    -0
      res/panels/SlewLimiter.svg
  43. +0
    -0
      res/panels/SpringReverb.svg
  44. +1
    -1
      src/ABC.cpp
  45. +1
    -1
      src/ADSR.cpp
  46. +1
    -1
      src/ChoppingKinky.cpp
  47. +1
    -1
      src/DualAtenuverter.cpp
  48. +1
    -1
      src/EvenVCO.cpp
  49. +1
    -1
      src/HexmixVCA.cpp
  50. +1
    -1
      src/Kickall.cpp
  51. +1
    -1
      src/Mex.cpp
  52. +1
    -1
      src/Mixer.cpp
  53. +1
    -1
      src/Morphader.cpp
  54. +1
    -1
      src/Muxlicer.hpp
  55. +1
    -1
      src/Percall.cpp
  56. +1
    -1
      src/Rampage.cpp
  57. +1
    -1
      src/STMix.cpp
  58. +1
    -1
      src/SamplingModulator.cpp
  59. +1
    -1
      src/SlewLimiter.cpp
  60. +1
    -1
      src/SpringReverb.cpp
  61. +23
    -23
      src/plugin.hpp

+ 5
- 2
LICENSE.md View File

@@ -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.

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.

+ 2
- 0
README.md View File

@@ -4,6 +4,8 @@ Based on [Befaco](http://www.befaco.org/) Eurorack modules.

[VCV Library page](https://library.vcvrack.com/Befaco)

[License](LICENSE.md)


## Differences with hardware



res/BananutBlack.svg → res/components/BananutBlack.svg View File


res/BananutRed.svg → res/components/BananutRed.svg View File


res/BefacoButton_0.svg → res/components/BefacoButton_0.svg View File


res/BefacoButton_1.svg → res/components/BefacoButton_1.svg View File


res/BefacoSwitchHoriz_0.svg → res/components/BefacoSwitchHoriz_0.svg View File


res/BefacoSwitchHoriz_1.svg → res/components/BefacoSwitchHoriz_1.svg View File


res/BefacoSwitchHoriz_2.svg → res/components/BefacoSwitchHoriz_2.svg View File


res/BefacoTinyKnobBlack_bg.svg → res/components/BefacoTinyKnobBlack_bg.svg View File


res/BefacoTinyKnobDarkGrey_bg.svg → res/components/BefacoTinyKnobDarkGrey_bg.svg View File


res/BefacoTinyKnobLightGrey_bg.svg → res/components/BefacoTinyKnobLightGrey_bg.svg View File


res/BefacoTinyKnobRed_bg.svg → res/components/BefacoTinyKnobRed_bg.svg View File


res/BefacoTinyPointWhite.svg → res/components/BefacoTinyPointWhite.svg View File


res/CrossfaderBackground.svg → res/components/CrossfaderBackground.svg View File


res/CrossfaderHandle.svg → res/components/CrossfaderHandle.svg View File


res/Davies1900hBlack.svg → res/components/Davies1900hBlack.svg View File


res/Davies1900hDarkGrey.svg → res/components/Davies1900hDarkGrey.svg View File


res/Davies1900hDarkGrey_bg.svg → res/components/Davies1900hDarkGrey_bg.svg View File


res/Davies1900hLargeGrey.svg → res/components/Davies1900hLargeGrey.svg View File


res/Davies1900hLargeGrey_bg.svg → res/components/Davies1900hLargeGrey_bg.svg View File


res/Davies1900hLightGrey.svg → res/components/Davies1900hLightGrey.svg View File


res/Davies1900hLightGrey_bg.svg → res/components/Davies1900hLightGrey_bg.svg View File


res/Knurlie.svg → res/components/Knurlie.svg View File


res/SwitchNarrow_0.svg → res/components/SwitchNarrow_0.svg View File


res/SwitchNarrow_1.svg → res/components/SwitchNarrow_1.svg View File


res/ABC.svg → res/panels/ABC.svg View File


res/ADSR.svg → res/panels/ADSR.svg View File


res/ChoppingKinky.svg → res/panels/ChoppingKinky.svg View File


res/DualAtenuverter.svg → res/panels/DualAtenuverter.svg View File


res/EvenVCO.svg → res/panels/EvenVCO.svg View File


res/HexmixVCA.svg → res/panels/HexmixVCA.svg View File


res/Kickall.svg → res/panels/Kickall.svg View File


res/Mex.svg → res/panels/Mex.svg View File


res/Mixer.svg → res/panels/Mixer.svg View File


res/Morphader.svg → res/panels/Morphader.svg View File


res/Muxlicer.svg → res/panels/Muxlicer.svg View File


res/Percall.svg → res/panels/Percall.svg View File


res/Rampage.svg → res/panels/Rampage.svg View File


res/STMix.svg → res/panels/STMix.svg View File


res/SamplingModulator.svg → res/panels/SamplingModulator.svg View File


res/SlewLimiter.svg → res/panels/SlewLimiter.svg View File


res/SpringReverb.svg → res/panels/SpringReverb.svg View File


+ 1
- 1
src/ABC.cpp View File

@@ -114,7 +114,7 @@ struct ABC : Module {
struct ABCWidget : ModuleWidget {
ABCWidget(ABC* 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, 365)));


+ 1
- 1
src/ADSR.cpp View File

@@ -304,7 +304,7 @@ struct ADSR : Module {
struct ADSRWidget : ModuleWidget {
ADSRWidget(ADSR* 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(box.size.x - 2 * RACK_GRID_WIDTH, 0)));


+ 1
- 1
src/ChoppingKinky.cpp View File

@@ -306,7 +306,7 @@ struct ChoppingKinky : Module {
struct ChoppingKinkyWidget : ModuleWidget {
ChoppingKinkyWidget(ChoppingKinky* 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(box.size.x - 2 * RACK_GRID_WIDTH, 0)));


+ 1
- 1
src/DualAtenuverter.cpp View File

@@ -99,7 +99,7 @@ struct DualAtenuverter : Module {
struct DualAtenuverterWidget : ModuleWidget {
DualAtenuverterWidget(DualAtenuverter* 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, 365)));


+ 1
- 1
src/EvenVCO.cpp View File

@@ -215,7 +215,7 @@ struct EvenVCO : Module {
struct EvenVCOWidget : ModuleWidget {
EvenVCOWidget(EvenVCO* 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, 365)));


+ 1
- 1
src/HexmixVCA.cpp View File

@@ -146,7 +146,7 @@ struct HexmixVCA : Module {
struct HexmixVCAWidget : ModuleWidget {
HexmixVCAWidget(HexmixVCA* 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(box.size.x - 2 * RACK_GRID_WIDTH, 0)));


+ 1
- 1
src/Kickall.cpp View File

@@ -127,7 +127,7 @@ struct Kickall : Module {
struct KickallWidget : ModuleWidget {
KickallWidget(Kickall* 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, RACK_GRID_HEIGHT - RACK_GRID_WIDTH)));


+ 1
- 1
src/Mex.cpp View File

@@ -97,7 +97,7 @@ struct Mex : Module {
struct MexWidget : ModuleWidget {
MexWidget(Mex* 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, RACK_GRID_HEIGHT - RACK_GRID_WIDTH)));


+ 1
- 1
src/Mixer.cpp View File

@@ -106,7 +106,7 @@ struct Mixer : Module {
struct MixerWidget : ModuleWidget {
MixerWidget(Mixer* 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, 365)));


+ 1
- 1
src/Morphader.cpp View File

@@ -232,7 +232,7 @@ struct Morphader : Module {
struct MorphaderWidget : ModuleWidget {
MorphaderWidget(Morphader* 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(box.size.x - 2 * RACK_GRID_WIDTH, 0)));


+ 1
- 1
src/Muxlicer.hpp View File

@@ -702,7 +702,7 @@ struct MuxlicerWidget : ModuleWidget {
MuxlicerWidget(Muxlicer* 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(box.size.x - 2 * RACK_GRID_WIDTH, 0)));


+ 1
- 1
src/Percall.cpp View File

@@ -171,7 +171,7 @@ struct Percall : Module {
struct PercallWidget : ModuleWidget {
PercallWidget(Percall* 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(box.size.x - 2 * RACK_GRID_WIDTH, 0)));


+ 1
- 1
src/Rampage.cpp View File

@@ -343,7 +343,7 @@ struct Rampage : Module {
struct RampageWidget : ModuleWidget {
RampageWidget(Rampage* 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(box.size.x - 30, 0)));


+ 1
- 1
src/STMix.cpp View File

@@ -105,7 +105,7 @@ struct STMix : Module {
struct STMixWidget : ModuleWidget {
STMixWidget(STMix* 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, RACK_GRID_HEIGHT - RACK_GRID_WIDTH)));


+ 1
- 1
src/SamplingModulator.cpp View File

@@ -217,7 +217,7 @@ struct SamplingModulator : Module {
struct SamplingModulatorWidget : ModuleWidget {
SamplingModulatorWidget(SamplingModulator* 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(box.size.x - 2 * RACK_GRID_WIDTH, 0)));


+ 1
- 1
src/SlewLimiter.cpp View File

@@ -91,7 +91,7 @@ struct SlewLimiter : Module {
struct SlewLimiterWidget : ModuleWidget {
SlewLimiterWidget(SlewLimiter* 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, 365)));


+ 1
- 1
src/SpringReverb.cpp View File

@@ -150,7 +150,7 @@ struct SpringReverb : Module {
struct SpringReverbWidget : ModuleWidget {
SpringReverbWidget(SpringReverb* 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, 365)));


+ 23
- 23
src/plugin.hpp View File

@@ -28,7 +28,7 @@ extern Model* modelMex;

struct Knurlie : SvgScrew {
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 {
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 {
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 {
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 {
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 {
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 {
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 {
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 {
BananutRed() {
setSvg(Svg::load(asset::plugin(pluginInstance, "res/BananutRed.svg")));
setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/BananutRed.svg")));
}
};
/** Deprecated alias */
@@ -97,7 +97,7 @@ using BefacoOutputPort = BananutRed;

struct BananutBlack : app::SvgPort {
BananutBlack() {
setSvg(Svg::load(asset::plugin(pluginInstance, "res/BananutBlack.svg")));
setSvg(Svg::load(asset::plugin(pluginInstance, "res/components/BananutBlack.svg")));
}
};
/** Deprecated alias */
@@ -105,15 +105,15 @@ using BefacoInputPort = BananutRed;

struct CKSSNarrow : app::SvgSwitch {
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 {
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));
maxHandlePos = mm2px(Vec(34.5, -0.8f));
horizontal = true;
@@ -125,9 +125,9 @@ struct Crossfader : app::SvgSlider {

struct BefacoSwitchHorizontal : app::SvgSwitch {
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")));
}
};



Loading…
Cancel
Save