Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
138
std::string ParamQuantity::getLabel() {
139
if (name ==
""
)
140
return string::f(
"#%d"
, paramId + 1);
141
return name;
142
}
143
144
145
std::string ParamQuantity::getUnit() {
Callers
4
draw
Method · 0.45
draw
Method · 0.45
draw
Method · 0.45
draw
Method · 0.45
Calls
1
f
Function · 0.50
Tested by
no test coverage detected