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

Function Window_OnTextChanged

src/webclient/Window_Web.c:704–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702extern void interop_CloseKeyboard(void);
703
704EMSCRIPTEN_KEEPALIVE void Window_OnTextChanged(const char* src) {
705 cc_string str; char buffer[800];
706 String_InitArray(str, buffer);
707
708 String_AppendUtf8(&str, src, String_CalcLen(src, 3200));
709 Event_RaiseString(&InputEvents.TextChanged, &str);
710}
711
712void OnscreenKeyboard_Open(struct OpenKeyboardArgs* args) {
713 char str[NATIVE_STR_LEN];

Callers

nothing calls this directly

Calls 3

String_AppendUtf8Function · 0.85
String_CalcLenFunction · 0.85
Event_RaiseStringFunction · 0.85

Tested by

no test coverage detected