MCPcopy Create free account
hub / github.com/RevoSucks/BM64Recomp / recompui_set_margin

Function recompui_set_margin

src/ui/ui_api.cpp:346–352  ·  view source on GitHub ↗

Margins

Source from the content-addressed store, hash-verified

344
345// Margins
346void recompui_set_margin(uint8_t* rdram, recomp_context* ctx) {
347 Style* resource = arg_style<0>(rdram, ctx);
348 float margin = _arg_float_a1(rdram, ctx);
349 uint32_t unit = _arg<2, uint32_t>(rdram, ctx);
350
351 resource->set_margin(margin, static_cast<Unit>(unit));
352}
353
354void recompui_set_margin_left(uint8_t* rdram, recomp_context* ctx) {
355 Style* resource = arg_style<0>(rdram, ctx);

Callers

nothing calls this directly

Calls 1

set_marginMethod · 0.80

Tested by

no test coverage detected