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

Function MenuOptionsScreen_HexGet

src/MenuOptions.c:345–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343
344
345static void MenuOptionsScreen_HexGet(struct ButtonWidget* btn, cc_string* v) {
346 struct MenuOptionMetaHex* meta = (struct MenuOptionMetaHex*)btn->meta.ptr;
347 PackedCol raw = meta->GetValue();
348 PackedCol_ToHex(v, raw);
349}
350
351static void MenuOptionsScreen_HexSet(struct ButtonWidget* btn, const cc_string* v) {
352 struct MenuOptionMetaHex* meta = (struct MenuOptionMetaHex*)btn->meta.ptr;

Callers

nothing calls this directly

Calls 1

PackedCol_ToHexFunction · 0.85

Tested by

no test coverage detected