Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheRealMJP/BakingLab
/ SetLabel
Method
SetLabel
SampleFramework11/v1.02/Settings.cpp:86–91 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
84
}
85
86
void Setting::SetLabel(const char* newLabel)
87
{
88
Assert_(newLabel != nullptr);
89
TwHelper::SetLabel(tweakBar, name.c_str(), newLabel);
90
label = newLabel;
91
}
92
93
FloatSetting& Setting::AsFloat()
94
{
Callers
1
SetUnits
Method · 0.80
Calls
1
SetLabel
Function · 0.85
Tested by
no test coverage detected