MCPcopy Create free account
hub / github.com/VCVRack/Rack / BefacoSlidePot

Class BefacoSlidePot

include/componentlibrary.hpp:681–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

679};
680
681struct 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
692struct VCVSlider : app::SvgSlider {
693 VCVSlider() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected