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

Function SetTextMode

Shadows/SampleFramework11/TwHelper.cpp:170–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void SetTextMode(TwBar* bar, TextMode textMode)
171{
172 static const char* TextModeStrings[] = { "dark", "light" };
173 TwCall(TwSetParam(bar, nullptr, "text", TW_PARAM_CSTRING, 1, TextModeStrings[uint64(textMode)]));
174}
175
176void SetPosition(TwBar* bar, int32 posX, int32 posY)
177{

Callers

nothing calls this directly

Calls 1

TwCallFunction · 0.85

Tested by

no test coverage detected