From bee76182044dd50cf561d1a76c05af7c7be68dfa Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Mon, 29 Mar 2021 13:32:44 +0200 Subject: added page touch ui event. added ui event handler to form create --- fw/fe310/test/cell_pdp.c | 5 +---- fw/fe310/test/main.c | 8 ++------ fw/fe310/test/modem.c | 2 -- fw/fe310/test/phone.c | 4 +--- fw/fe310/test/status.c | 3 --- fw/fe310/test/wifi.c | 5 +---- 6 files changed, 5 insertions(+), 22 deletions(-) diff --git a/fw/fe310/test/cell_pdp.c b/fw/fe310/test/cell_pdp.c index 8bc8c41..9fc4a21 100644 --- a/fw/fe310/test/cell_pdp.c +++ b/fw/fe310/test/cell_pdp.c @@ -4,9 +4,6 @@ #include #include -#include -#include -#include #include #include @@ -91,7 +88,7 @@ void app_cell_pdp(EVEWindow *window, EVEViewStack *stack) { }, }; - EVEForm *form = eve_form_create(window, stack, spec, 3, app_cell_pdp_action, app_cell_pdp_close); + EVEForm *form = eve_form_create(window, stack, spec, 3, NULL, app_cell_pdp_action, app_cell_pdp_close); } void app_cell_pdp_action(EVEForm *form) { diff --git a/fw/fe310/test/main.c b/fw/fe310/test/main.c index 7f0fc43..1021507 100644 --- a/fw/fe310/test/main.c +++ b/fw/fe310/test/main.c @@ -4,11 +4,6 @@ #include #include -#include -#include -#include -#include -#include #include #include @@ -28,6 +23,7 @@ #include "phone.h" #include "modem.h" #include "wifi.h" +#include "test.h" void app_home_page(EVEWindow *window, EVEViewStack *stack) { EVEWidgetSpec spec[] = { @@ -57,7 +53,7 @@ void app_home_page(EVEWindow *window, EVEViewStack *stack) { }, }; - EVEForm *form = eve_form_create(window, stack, spec, 4, NULL, NULL); + EVEForm *form = eve_form_create(window, stack, spec, 4, NULL, NULL, NULL); } int main() { diff --git a/fw/fe310/test/modem.c b/fw/fe310/test/modem.c index b78a3b4..a2bb0c6 100644 --- a/fw/fe310/test/modem.c +++ b/fw/fe310/test/modem.c @@ -4,8 +4,6 @@ #include #include -#include -#include #include #include #include diff --git a/fw/fe310/test/phone.c b/fw/fe310/test/phone.c index 0bf1c04..c447234 100644 --- a/fw/fe310/test/phone.c +++ b/fw/fe310/test/phone.c @@ -4,8 +4,6 @@ #include #include -#include -#include #include #include #include @@ -92,7 +90,7 @@ void app_phone(EVEWindow *window, EVEViewStack *stack) { }, }; - EVEForm *form = eve_form_create(window, stack, spec, 1, app_phone_action, NULL); + EVEForm *form = eve_form_create(window, stack, spec, 1, NULL, app_phone_action, NULL); } void app_phone_action(EVEForm *form) { diff --git a/fw/fe310/test/status.c b/fw/fe310/test/status.c index b7307b2..42d193a 100644 --- a/fw/fe310/test/status.c +++ b/fw/fe310/test/status.c @@ -4,9 +4,6 @@ #include #include -#include -#include -#include #include #include diff --git a/fw/fe310/test/wifi.c b/fw/fe310/test/wifi.c index 76e811d..814d808 100644 --- a/fw/fe310/test/wifi.c +++ b/fw/fe310/test/wifi.c @@ -4,9 +4,6 @@ #include #include -#include -#include -#include #include #include @@ -99,7 +96,7 @@ void app_wifi(EVEWindow *window, EVEViewStack *stack) { }, }; - EVEForm *form = eve_form_create(window, stack, spec, 3, app_wifi_action, app_wifi_close); + EVEForm *form = eve_form_create(window, stack, spec, 3, NULL, app_wifi_action, app_wifi_close); wifi_scan(); } -- cgit v1.2.3