summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eve/widget/widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/eve/widget/widget.c')
-rw-r--r--code/fe310/eos/eve/widget/widget.c6
1 files changed, 4 insertions, 2 deletions
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) {