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

Function SetValuesWidth

SampleFramework11/v1.02/TwHelper.cpp:188–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void SetValuesWidth(TwBar* bar, int32 width, bool32 fit)
189{
190 if(fit)
191 TwCall(TwSetParam(bar, nullptr, "valueswidth", TW_PARAM_CSTRING, 1, "fit"));
192 else
193 TwCall(TwSetParam(bar, nullptr, "valueswidth", TW_PARAM_INT32, 1, &width));
194}
195
196void SetRefreshRate(TwBar* bar, float rate)
197{

Callers 1

RunMethod · 0.85

Calls 1

TwCallFunction · 0.85

Tested by

no test coverage detected