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

Function TextInputWidget_Add

src/Widgets.c:1781–1784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1779}
1780
1781void TextInputWidget_Add(void* screen, struct TextInputWidget* w, int width, const cc_string* text, struct MenuInputDesc* d) {
1782 TextInputWidget_Create(w, width, text, d);
1783 AddWidget(screen, w);
1784}
1785
1786void TextInputWidget_SetFont(struct TextInputWidget* w, struct FontDesc* font) {
1787 w->base.font = font;

Callers 4

EditHotkeyScreen_InitFunction · 0.85
GenLevelScreen_MakeFunction · 0.85
SaveLevelScreen_InitFunction · 0.85
MenuInputOverlay_InitFunction · 0.85

Calls 2

TextInputWidget_CreateFunction · 0.85
AddWidgetFunction · 0.85

Tested by

no test coverage detected