diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-03-25 19:58:43 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-03-25 19:58:43 +0100 |
commit | 58232586e1ed65fc8a8e382796628aa087b5dc4c (patch) | |
tree | a2a174228ad0b217369820750a6c1d4f087d8d7b /fw/fe310/eos/eve/widget/widgets.h | |
parent | 95f69d4f83ad8f7fbb56349f29e902928510362b (diff) |
uievt added to view
Diffstat (limited to 'fw/fe310/eos/eve/widget/widgets.h')
-rw-r--r-- | fw/fe310/eos/eve/widget/widgets.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fw/fe310/eos/eve/widget/widgets.h b/fw/fe310/eos/eve/widget/widgets.h index c33fc03..2f8d3ca 100644 --- a/fw/fe310/eos/eve/widget/widgets.h +++ b/fw/fe310/eos/eve/widget/widgets.h @@ -27,14 +27,13 @@ typedef struct EVEWidgetSpec { APPLabelSpec label; struct { EVERect g; - EVEFont *font; EVEWidgetSpecT spec; uint8_t type; } widget; } EVEWidgetSpec; -typedef int (*eve_widget_create_t) (EVEWidget *, EVERect *g, EVEFont *, EVEWidgetSpecT *); +typedef int (*eve_widget_create_t) (EVEWidget *, EVERect *, EVEPage *, EVEWidgetSpecT *); typedef void (*eve_widget_destroy_t) (EVEWidget *); -int eve_widget_create(EVEWidget *widget, uint8_t type, EVERect *g, EVEFont *font, EVEWidgetSpecT *spec); +int eve_widget_create(EVEWidget *widget, uint8_t type, EVERect *g, EVEPage *page, EVEWidgetSpecT *spec); void eve_widget_destroy(EVEWidget *widget); |