From 8c61343677d2ed8f929372863016524707b8ab93 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Tue, 23 Mar 2021 21:33:57 +0100 Subject: form scroll completed --- fw/fe310/eos/eve/screen/form.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'fw/fe310/eos/eve/screen/form.h') diff --git a/fw/fe310/eos/eve/screen/form.h b/fw/fe310/eos/eve/screen/form.h index 68dfdca..51b56b0 100644 --- a/fw/fe310/eos/eve/screen/form.h +++ b/fw/fe310/eos/eve/screen/form.h @@ -11,15 +11,18 @@ typedef struct EVEForm { struct EVEWidget *widget; uint16_t widget_size; eve_form_action_t action; - int16_t win_x0; - int16_t win_y0; + int win_x0; + int win_y0; + uint16_t h; uint8_t evt_lock; + EVEPhyLHO lho; + uint64_t lho_t0; } EVEForm; int eve_form_init(EVEForm *form, EVEWindow *window, EVEViewStack *stack, struct EVEWidget *widget, uint16_t widget_size, eve_form_action_t action, eve_form_destructor_t destructor); -int eve_form_touch(EVEView *v, uint8_t tag0, int touch_idx); -uint8_t eve_form_draw(EVEView *v, uint8_t tag0); +int eve_form_touch(EVEView *view, EVETouch *touch, uint16_t evt, uint8_t tag0); +uint8_t eve_form_draw(EVEView *view, uint8_t tag0); void eve_form_update_g(EVEForm *form, struct EVEWidget *widget); int eve_form_handle_evt(EVEForm *form, struct EVEWidget *widget, EVETouch *touch, uint16_t evt); -- cgit v1.2.3