MCPcopy Create free account
hub / github.com/TheRealMJP/Shadows / SetButtonAlignment

Function SetButtonAlignment

Shadows/SampleFramework11/TwHelper.cpp:241–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241void SetButtonAlignment(TwBar* bar, ButtonAlignment alignment)
242{
243 static const char* ButtonAlignmentStrings[] = { "left", "center", "right" };
244 TwCall(TwSetParam(bar, nullptr, "buttonalign", TW_PARAM_CSTRING, 1, ButtonAlignmentStrings[uint64(alignment)]));
245}
246
247
248// Group parameters

Callers

nothing calls this directly

Calls 1

TwCallFunction · 0.85

Tested by

no test coverage detected