nfc maker - add keyboard

This commit is contained in:
MX
2023-07-08 19:52:04 +03:00
parent 7e14f997e7
commit 0109361fe9
22 changed files with 966 additions and 39 deletions

View File

@@ -35,9 +35,11 @@ NfcMaker* nfc_maker_alloc() {
view_dispatcher_add_view(
app->view_dispatcher, NfcMakerViewSubmenu, submenu_get_view(app->submenu));
app->text_input = text_input_alloc();
app->text_input = nfc_maker_text_input_alloc();
view_dispatcher_add_view(
app->view_dispatcher, NfcMakerViewTextInput, text_input_get_view(app->text_input));
app->view_dispatcher,
NfcMakerViewTextInput,
nfc_maker_text_input_get_view(app->text_input));
app->byte_input = byte_input_alloc();
view_dispatcher_add_view(
@@ -56,7 +58,7 @@ void nfc_maker_free(NfcMaker* app) {
view_dispatcher_remove_view(app->view_dispatcher, NfcMakerViewSubmenu);
submenu_free(app->submenu);
view_dispatcher_remove_view(app->view_dispatcher, NfcMakerViewTextInput);
text_input_free(app->text_input);
nfc_maker_text_input_free(app->text_input);
view_dispatcher_remove_view(app->view_dispatcher, NfcMakerViewByteInput);
byte_input_free(app->byte_input);
view_dispatcher_remove_view(app->view_dispatcher, NfcMakerViewPopup);