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

Function TextWidget_SetConst

src/Widgets.c:104–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void TextWidget_SetConst(struct TextWidget* w, const char* text, struct FontDesc* font) {
105 cc_string str = String_FromReadonly(text);
106 TextWidget_Set(w, &str, font);
107}
108
109
110/*########################################################################################################################*

Calls 2

String_FromReadonlyFunction · 0.85
TextWidget_SetFunction · 0.85

Tested by

no test coverage detected