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

Function SetPosition

SampleFramework11/v1.02/TwHelper.cpp:176–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void SetPosition(TwBar* bar, int32 posX, int32 posY)
177{
178 int32 positions[2] = { posX, posY };
179 TwCall(TwSetParam(bar, nullptr, "position", TW_PARAM_INT32, 2, positions));
180}
181
182void SetSize(TwBar* bar, int32 sizeX, int32 sizeY)
183{

Callers 1

AfterResetMethod · 0.85

Calls 1

TwCallFunction · 0.85

Tested by

no test coverage detected