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

Function recompui_set_width

src/ui/ui_api.cpp:244–250  ·  view source on GitHub ↗

Sizing

Source from the content-addressed store, hash-verified

242
243// Sizing
244void recompui_set_width(uint8_t* rdram, recomp_context* ctx) {
245 Style* resource = arg_style<0>(rdram, ctx);
246 float width = _arg_float_a1(rdram, ctx);
247 uint32_t unit = _arg<2, uint32_t>(rdram, ctx);
248
249 resource->set_width(width, static_cast<Unit>(unit));
250}
251
252void recompui_set_width_auto(uint8_t* rdram, recomp_context* ctx) {
253 Style* resource = arg_style<0>(rdram, ctx);

Callers

nothing calls this directly

Calls 1

set_widthMethod · 0.80

Tested by

no test coverage detected