Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ TSvgLight
Method
TSvgLight
include/componentlibrary.hpp:68–74 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
widget::SvgWidget* sw;
67
68
TSvgLight() {
69
fb = new widget::FramebufferWidget;
70
this->addChild(fb);
71
72
sw = new widget::SvgWidget;
73
fb->addChild(sw);
74
}
75
76
void setSvg(std::shared_ptr<Svg> svg) {
77
sw->setSvg(svg);
Callers
nothing calls this directly
Calls
1
addChild
Method · 0.80
Tested by
no test coverage detected