diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-03-27 22:08:31 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-03-27 22:08:31 +0100 |
commit | daa87d92b3df433578e53284a8c88083e24f8623 (patch) | |
tree | bb061a88510935f7bb91139ae618caaf9b546c96 /fw/fe310/test/cell_pdp.c | |
parent | 72a82b58ba87fe9ecc2718bfcb2b5f0432ffaea9 (diff) |
form/app cleanup; scroll infrastructure
Diffstat (limited to 'fw/fe310/test/cell_pdp.c')
-rw-r--r-- | fw/fe310/test/cell_pdp.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/fw/fe310/test/cell_pdp.c b/fw/fe310/test/cell_pdp.c index a45adc4..8bc8c41 100644 --- a/fw/fe310/test/cell_pdp.c +++ b/fw/fe310/test/cell_pdp.c @@ -21,7 +21,6 @@ #include <eve/widget/widgets.h> #include <app/app_root.h> -#include <app/app_form.h> #include "status.h" #include "cell_pdp.h" @@ -92,19 +91,19 @@ void app_cell_pdp(EVEWindow *window, EVEViewStack *stack) { }, }; - EVEForm *form = app_form_create(window, stack, spec, 3, app_cell_pdp_action, app_cell_pdp_close); + EVEForm *form = eve_form_create(window, stack, spec, 3, app_cell_pdp_action, app_cell_pdp_close); } void app_cell_pdp_action(EVEForm *form) { - EVEStrWidget *apn = (EVEStrWidget *)eve_form_widget(form, 0); - EVEStrWidget *user = (EVEStrWidget *)eve_form_widget(form, 1); - EVEStrWidget *pass = (EVEStrWidget *)eve_form_widget(form, 2); + EVEStrWidget *apn = (EVEStrWidget *)eve_page_widget(&form->p, 0); + EVEStrWidget *user = (EVEStrWidget *)eve_page_widget(&form->p, 1); + EVEStrWidget *pass = (EVEStrWidget *)eve_page_widget(&form->p, 2); cell_pdp_connect(apn->str, user->str, pass->str); } void app_cell_pdp_close(EVEForm *form) { - app_form_destroy(form); + eve_form_destroy(form); } void app_cell_pdp_init(void) { |