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

Function MenuOptionsScreen_IntGet

src/MenuOptions.c:371–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369
370
371static void MenuOptionsScreen_IntGet(struct ButtonWidget* btn, cc_string* v) {
372 struct MenuOptionMetaInt* meta = (struct MenuOptionMetaInt*)btn->meta.ptr;
373 String_AppendInt(v, meta->GetValue());
374}
375
376static void MenuOptionsScreen_IntSet(struct ButtonWidget* btn, const cc_string* v) {
377 struct MenuOptionMetaInt* meta = (struct MenuOptionMetaInt*)btn->meta.ptr;

Callers

nothing calls this directly

Calls 1

String_AppendIntFunction · 0.85

Tested by

no test coverage detected