MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / LInput_SetText

Function LInput_SetText

src/LWidgets.c:368–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368void LInput_SetText(struct LInput* w, const cc_string* text) {
369 String_Copy(&w->text, text);
370 LInput_ClampCaret(w);
371 LBackend_InputUpdate(w);
372}
373
374void LInput_ClearText(struct LInput* w) {
375 w->text.length = 0;

Callers 6

LInput_TextChangedFunction · 0.85
LInput_SetStringFunction · 0.85
ColoursScreen_SetFunction · 0.85
DirectConnectScreen_LoadFunction · 0.85
MainScreen_LoadFunction · 0.85
MainScreen_LoginPhase2Function · 0.85

Calls 3

String_CopyFunction · 0.85
LInput_ClampCaretFunction · 0.85
LBackend_InputUpdateFunction · 0.70

Tested by

no test coverage detected