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

Function InputWidget_AppendText

src/Widgets.c:1275–1278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1273}
1274
1275void InputWidget_AppendText(struct InputWidget* w, const cc_string* text) {
1276 int appended = InputWidget_DoAppendText(w, text);
1277 if (appended) InputWidget_UpdateText(w);
1278}
1279
1280void InputWidget_Append(struct InputWidget* w, char c) {
1281 if (!InputWidget_TryAppendChar(w, c)) return;

Callers 4

ChatInputWidget_TabKeyFunction · 0.85
ChatScreen_AppendInputFunction · 0.85

Calls 2

InputWidget_DoAppendTextFunction · 0.85
InputWidget_UpdateTextFunction · 0.85

Tested by

no test coverage detected