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

Function recompui_create_textinput

src/ui/ui_api.cpp:148–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void recompui_create_textinput(uint8_t* rdram, recomp_context* ctx) {
149 ContextId ui_context = get_context(rdram, ctx);
150 Element* parent = arg_element<1>(rdram, ctx, ui_context);
151
152 Element* ret = ui_context.create_element<TextInput>(parent);
153 return_resource(ctx, ret->get_resource_id());
154}
155
156void recompui_create_passwordinput(uint8_t* rdram, recomp_context* ctx) {
157 ContextId ui_context = get_context(rdram, ctx);

Callers

nothing calls this directly

Calls 3

get_contextFunction · 0.85
return_resourceFunction · 0.85
get_resource_idMethod · 0.80

Tested by

no test coverage detected