diff options
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); |