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

Method requestDrawText

keyboard/src/graphics.cpp:1156–1173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1154}
1155
1156void window::requestDrawText(const char* text, int z, int x, int y, int width, int height, int r, int g, int b, int a, int keyID, int modifier, int customShader){
1157 asyncToDo = true;
1158 needDrawText = true;
1159 textREQ = strdup(text);
1160 zREQ = z;
1161 xREQ = x;
1162 yREQ = y;
1163 widthREQ = width;
1164 heightREQ = height;
1165 rREQ = r;
1166 gREQ = g;
1167 bREQ = b;
1168 aREQ = a;
1169 keyIDREQ = keyID;
1170 modifierREQ = modifier;
1171 customShaderREQ = customShader;
1172 return;
1173}
1174
1175void window::requestDrawImage(const char* src, int z, int x, int y, int width, int height, int a, int keyID, int modifier, int customShader){
1176 asyncToDo = true;

Callers 2

textureKeyMethod · 0.45
freeTextureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected