From c25bf68c4702b20aea6ca99eb1edd5aca5f6d391 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Thu, 2 Jul 2020 21:06:02 +0200 Subject: string widget implemented --- code/fe310/eos/eve/widget/widget.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'code/fe310/eos/eve/widget/widget.c') diff --git a/code/fe310/eos/eve/widget/widget.c b/code/fe310/eos/eve/widget/widget.c index c61a09a..13b784f 100644 --- a/code/fe310/eos/eve/widget/widget.c +++ b/code/fe310/eos/eve/widget/widget.c @@ -13,11 +13,13 @@ #include "widget.h" #include "page.h" #include "text.h" +#include "str.h" static const size_t _eve_wsize[] = { 0, - sizeof(EVETextWidget), - sizeof(EVEPageWidget) + sizeof(EVEPageWidget), + sizeof(EVEStrWidget), + sizeof(EVETextWidget) }; void eve_widget_init(EVEWidget *widget, uint8_t type, EVERect *g, eve_widget_touch_t touch, eve_widget_draw_t draw, eve_kbd_input_handler_t putc) { -- cgit v1.2.3