MCPcopy Create free account
hub / github.com/InkboxSoftware/all-screen-keyboard / updateColor

Method updateColor

keyboard/src/text.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void text::updateColor(int r, int g, int b, int a){
45 c.r = static_cast<float>(r) / 255.0f;
46 c.g = static_cast<float>(g) / 255.0f;
47 c.b = static_cast<float>(b) / 255.0f;
48 c.a = static_cast<float>(a) / 255.0f;
49 return;
50}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected