From daa87d92b3df433578e53284a8c88083e24f8623 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 27 Mar 2021 22:08:31 +0100 Subject: form/app cleanup; scroll infrastructure --- fw/fe310/eos/eve/widget/widget.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'fw/fe310/eos/eve/widget/widget.c') diff --git a/fw/fe310/eos/eve/widget/widget.c b/fw/fe310/eos/eve/widget/widget.c index 6f6a3ff..96d2ddf 100644 --- a/fw/fe310/eos/eve/widget/widget.c +++ b/fw/fe310/eos/eve/widget/widget.c @@ -70,7 +70,8 @@ void eve_widget_destroy(EVEWidget *widget) { if (_widget_destroy[widget->type]) _widget_destroy[widget->type](widget); } -void eve_widget_uievt_push(EVEWidget *widget, uint16_t evt, void *param) { - EVEView *view = &widget->page->v; - eve_view_uievt_push(view, evt, param ? param : widget); -} \ No newline at end of file +void eve_widget_focus(EVEWidget *widget, EVERect *rect) { + EVEPage *page = widget->page; + + eve_page_focus_widget(page, widget, rect); +} -- cgit v1.2.3