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

Method SvgSlider

src/app/SvgSlider.cpp:8–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7
8SvgSlider::SvgSlider() {
9 fb = new widget::FramebufferWidget;
10 addChild(fb);
11
12 background = new widget::SvgWidget;
13 fb->addChild(background);
14
15 handle = new widget::SvgWidget;
16 fb->addChild(handle);
17
18 speed = 2.0;
19}
20
21
22void SvgSlider::setBackgroundSvg(std::shared_ptr<window::Svg> svg) {

Callers

nothing calls this directly

Calls 1

addChildMethod · 0.80

Tested by

no test coverage detected