MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / SetReadOnly

Function SetReadOnly

SampleFramework11/v1.02/TwHelper.cpp:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void SetReadOnly(TwBar* bar, const char* varName, bool32 readOnly)
42{
43 TwCall(TwSetParam(bar, varName, "readonly", TW_PARAM_INT32, 1, &readOnly));
44}
45
46void SetMinMax(TwBar* bar, const char* varName, float min, float max)
47{

Callers 2

SetReadOnlyMethod · 0.85
SetEditableMethod · 0.85

Calls 1

TwCallFunction · 0.85

Tested by

no test coverage detected