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

Function InputWidget_DoAppendText

src/Widgets.c:1267–1273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1265}
1266
1267static int InputWidget_DoAppendText(struct InputWidget* w, const cc_string* text) {
1268 int i, appended = 0;
1269 for (i = 0; i < text->length; i++) {
1270 if (InputWidget_TryAppendChar(w, text->buffer[i])) appended++;
1271 }
1272 return appended;
1273}
1274
1275void InputWidget_AppendText(struct InputWidget* w, const cc_string* text) {
1276 int appended = InputWidget_DoAppendText(w, text);

Callers 2

InputWidget_AppendTextFunction · 0.85
InputWidget_SetTextFunction · 0.85

Calls 1

Tested by

no test coverage detected