diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-07-11 14:17:12 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-07-11 14:17:12 +0200 |
commit | 0ebaa6f7c2ae1cb7e72d8b5ff4b34e3fe7c5ace8 (patch) | |
tree | 6a2d103796e183f9847c203a4891ec4bfb1d56dc /code/fe310/eos/eve/widget/textw.h | |
parent | 725ed5b0353eaeb3301aa9690d6803a78e18dfb2 (diff) |
page focus interface changed; widget is responsible for setting focus
Diffstat (limited to 'code/fe310/eos/eve/widget/textw.h')
-rw-r--r-- | code/fe310/eos/eve/widget/textw.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/code/fe310/eos/eve/widget/textw.h b/code/fe310/eos/eve/widget/textw.h index 68176f1..ee3eefb 100644 --- a/code/fe310/eos/eve/widget/textw.h +++ b/code/fe310/eos/eve/widget/textw.h @@ -18,7 +18,6 @@ typedef struct EVETextWidget { uint16_t line_len; EVETextCursor cursor1; EVETextCursor cursor2; - EVETextCursor *cursor_f; uint16_t line0; uint8_t tag0; uint8_t tagN; @@ -31,7 +30,7 @@ typedef struct EVETextWidget { } EVETextWidget; void eve_textw_init(EVETextWidget *widget, EVERect *g, EVEFont *font, char *text, uint16_t text_size, uint16_t *line, uint16_t line_size); -int eve_textw_touch(EVEWidget *_widget, EVEPage *page, uint8_t tag0, int touch_idx, EVERect *focus); +int eve_textw_touch(EVEWidget *_widget, EVEPage *page, uint8_t tag0, int touch_idx); uint8_t eve_textw_draw(EVEWidget *_widget, EVEPage *page, uint8_t tag0); void eve_textw_putc(void *_w, int c); int eve_textw_update(EVETextWidget *widget, EVEPage *page, uint16_t line); |