Sizing
| 242 | |
| 243 | // Sizing |
| 244 | void 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 | |
| 252 | void recompui_set_width_auto(uint8_t* rdram, recomp_context* ctx) { |
| 253 | Style* resource = arg_style<0>(rdram, ctx); |