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

Method SvgSwitch

src/app/SvgSwitch.cpp:8–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7
8SvgSwitch::SvgSwitch() {
9 fb = new widget::FramebufferWidget;
10 addChild(fb);
11
12 shadow = new CircularShadow;
13 fb->addChild(shadow);
14 shadow->box.size = math::Vec();
15
16 sw = new widget::SvgWidget;
17 fb->addChild(sw);
18}
19
20
21SvgSwitch::~SvgSwitch() {

Callers

nothing calls this directly

Calls 2

VecClass · 0.85
addChildMethod · 0.80

Tested by

no test coverage detected