summaryrefslogtreecommitdiff
path: root/fw/fe310/test/phone.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-03-27 22:08:31 +0100
committerUros Majstorovic <majstor@majstor.org>2021-03-27 22:08:31 +0100
commitdaa87d92b3df433578e53284a8c88083e24f8623 (patch)
treebb061a88510935f7bb91139ae618caaf9b546c96 /fw/fe310/test/phone.c
parent72a82b58ba87fe9ecc2718bfcb2b5f0432ffaea9 (diff)
form/app cleanup; scroll infrastructure
Diffstat (limited to 'fw/fe310/test/phone.c')
-rw-r--r--fw/fe310/test/phone.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fw/fe310/test/phone.c b/fw/fe310/test/phone.c
index de5ed1e..0bf1c04 100644
--- a/fw/fe310/test/phone.c
+++ b/fw/fe310/test/phone.c
@@ -21,7 +21,6 @@
#include <eve/widget/widgets.h>
#include <app/app_root.h>
-#include <app/app_form.h>
#include "status.h"
#include "phone.h"
@@ -93,12 +92,12 @@ void app_phone(EVEWindow *window, EVEViewStack *stack) {
},
};
- EVEForm *form = app_form_create(window, stack, spec, 1, app_phone_action, NULL);
+ EVEForm *form = eve_form_create(window, stack, spec, 1, app_phone_action, NULL);
}
void app_phone_action(EVEForm *form) {
char msg[128];
- EVEStrWidget *w = (EVEStrWidget *)eve_form_widget(form, 0);
+ EVEStrWidget *w = (EVEStrWidget *)eve_page_widget(&form->p, 0);
unsigned char *buf = eos_net_alloc();
buf[0] = EOS_CELL_MTYPE_VOICE | EOS_CELL_MTYPE_VOICE_DIAL;