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

Function SetIconPosition

Shadows/SampleFramework11/TwHelper.cpp:261–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void SetIconPosition(IconPosition position)
262{
263 static const char* IconPositionStrings[] = { "topleft", "topright", "bottomleft", "bottomright" };
264 TwCall(TwSetParam(nullptr, nullptr, "iconpos", TW_PARAM_CSTRING, 1, IconPositionStrings[uint64(position)]));
265}
266
267void SetIconAlignment(IconAlignment alignment)
268{

Callers

nothing calls this directly

Calls 1

TwCallFunction · 0.85

Tested by

no test coverage detected