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

Function recompui_set_max_width

src/ui/ui_api.cpp:288–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288void recompui_set_max_width(uint8_t* rdram, recomp_context* ctx) {
289 Style* resource = arg_style<0>(rdram, ctx);
290 float width = _arg_float_a1(rdram, ctx);
291 uint32_t unit = _arg<2, uint32_t>(rdram, ctx);
292
293 resource->set_max_width(width, static_cast<Unit>(unit));
294}
295
296void recompui_set_max_height(uint8_t* rdram, recomp_context* ctx) {
297 Style* resource = arg_style<0>(rdram, ctx);

Callers

nothing calls this directly

Calls 1

set_max_widthMethod · 0.80

Tested by

no test coverage detected