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

Function GenLevelScreen_TextChanged

src/Menus.c:1133–1139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1131}
1132
1133static int GenLevelScreen_TextChanged(void* screen, const cc_string* str) {
1134 struct GenLevelScreen* s = (struct GenLevelScreen*)screen;
1135 struct TextInputWidget* selected = GenLevelScreen_SelectedInput(s);
1136
1137 if (selected) InputWidget_SetText(&selected->base, str);
1138 return true;
1139}
1140
1141static int GenLevelScreen_PointerDown(void* screen, int id, int x, int y) {
1142 struct GenLevelScreen* s = (struct GenLevelScreen*)screen;

Callers

nothing calls this directly

Calls 2

InputWidget_SetTextFunction · 0.85

Tested by

no test coverage detected