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

Method VCVSlider

include/componentlibrary.hpp:693–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691
692struct VCVSlider : app::SvgSlider {
693 VCVSlider() {
694 setBackgroundSvg(Svg::load(asset::system("res/ComponentLibrary/VCVSlider.svg")));
695 setHandleSvg(Svg::load(asset::system("res/ComponentLibrary/VCVSliderHandle.svg")));
696 setHandlePosCentered(
697 math::Vec(19.84260/2, 76.53517 - 11.74218/2),
698 math::Vec(19.84260/2, 0.0 + 11.74218/2)
699 );
700 }
701};
702using LEDSlider = VCVSlider;
703

Callers

nothing calls this directly

Calls 3

loadFunction · 0.85
systemFunction · 0.85
VecClass · 0.85

Tested by

no test coverage detected