summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eve/widget/widget.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-07-02 21:06:02 +0200
committerUros Majstorovic <majstor@majstor.org>2020-07-02 21:06:02 +0200
commitc25bf68c4702b20aea6ca99eb1edd5aca5f6d391 (patch)
tree9fe2729ae6024320dd0bd8b2882f746710baa906 /code/fe310/eos/eve/widget/widget.c
parentdabbf944711eef384dcc87b2d49843bedcb1e84a (diff)
string widget implemented
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) {