| 767 | } |
| 768 | |
| 769 | void recompui_get_input_text(uint8_t* rdram, recomp_context* ctx) { |
| 770 | Style* resource = arg_style<0>(rdram, ctx); |
| 771 | |
| 772 | if (resource == nullptr || !resource->is_element()) { |
| 773 | recompui::message_box("Fatal error in mod - attempted to get input text of non-element or element not found in context"); |
| 774 | assert(false); |
| 775 | ultramodern::error_handling::quick_exit(__FILE__, __LINE__, __FUNCTION__); |
| 776 | } |
| 777 | |
| 778 | Element* element = static_cast<Element*>(resource); |
| 779 | std::string ret = element->get_input_text(); |
| 780 | return_string(rdram, ctx, ret); |
| 781 | } |
| 782 | |
| 783 | void recompui_set_input_value_u32(uint8_t* rdram, recomp_context* ctx) { |
| 784 | Style* resource = arg_style<0>(rdram, ctx); |
nothing calls this directly
no test coverage detected