| 328 | } |
| 329 | |
| 330 | static void MenuOptionsScreen_InputClick(void* screen, void* widget) { |
| 331 | cc_string value; char valueBuffer[STRING_SIZE]; |
| 332 | struct MenuOptionsScreen* s = (struct MenuOptionsScreen*)screen; |
| 333 | struct ButtonWidget* btn = (struct ButtonWidget*)widget; |
| 334 | struct MenuOptionMetaInt* meta = (struct MenuOptionMetaInt*)btn->meta.ptr; |
| 335 | |
| 336 | MenuOptionsScreen_FreeExtHelp(s); |
| 337 | s->activeBtn = btn; |
| 338 | |
| 339 | String_InitArray(value, valueBuffer); |
| 340 | meta->GetText(btn, &value); |
| 341 | MenuInputOverlay_Show(&meta->desc, &value, MenuOptionsScreen_OnDone, Gui_TouchUI); |
| 342 | } |
| 343 | |
| 344 | |
| 345 | static void MenuOptionsScreen_HexGet(struct ButtonWidget* btn, cc_string* v) { |
nothing calls this directly
no test coverage detected