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

Method getLabel

src/engine/ParamQuantity.cpp:138–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137
138std::string ParamQuantity::getLabel() {
139 if (name == "")
140 return string::f("#%d", paramId + 1);
141 return name;
142}
143
144
145std::string ParamQuantity::getUnit() {

Callers 4

drawMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45

Calls 1

fFunction · 0.50

Tested by

no test coverage detected