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

Function SetIconAlignment

Shadows/SampleFramework11/TwHelper.cpp:267–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267void SetIconAlignment(IconAlignment alignment)
268{
269 static const char* IconAlignmentStrings[] = { "vertical", "horizontal" };
270 TwCall(TwSetParam(nullptr, nullptr, "iconalign", TW_PARAM_CSTRING, 1, IconAlignmentStrings[uint64(alignment)]));
271}
272
273void SetIconMargin(int32 marginX, int32 marginY)
274{

Callers

nothing calls this directly

Calls 1

TwCallFunction · 0.85

Tested by

no test coverage detected