| 679 | }; |
| 680 | |
| 681 | struct BefacoSlidePot : app::SvgSlider { |
| 682 | BefacoSlidePot() { |
| 683 | setBackgroundSvg(Svg::load(asset::system("res/ComponentLibrary/BefacoSlidePot.svg"))); |
| 684 | setHandleSvg(Svg::load(asset::system("res/ComponentLibrary/BefacoSlidePotHandle.svg"))); |
| 685 | math::Vec margin = math::Vec(3.5, 3.5); |
| 686 | setHandlePos(math::Vec(-1, 87).plus(margin), math::Vec(-1, -2).plus(margin)); |
| 687 | background->box.pos = margin; |
| 688 | box.size = background->box.size.plus(margin.mult(2)); |
| 689 | } |
| 690 | }; |
| 691 | |
| 692 | struct VCVSlider : app::SvgSlider { |
| 693 | VCVSlider() { |
nothing calls this directly
no outgoing calls
no test coverage detected