diff options
Diffstat (limited to 'code/fe310/eos/eve/widget/text.h')
-rw-r--r-- | code/fe310/eos/eve/widget/text.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/fe310/eos/eve/widget/text.h b/code/fe310/eos/eve/widget/text.h index 745274d..68176f1 100644 --- a/code/fe310/eos/eve/widget/text.h +++ b/code/fe310/eos/eve/widget/text.h @@ -9,13 +9,13 @@ typedef struct EVETextCursor { typedef struct EVETextWidget { EVEWidget w; + EVEFont *font; char *text; uint16_t text_size; uint16_t text_len; uint16_t *line; uint16_t line_size; uint16_t line_len; - EVEFont *font; EVETextCursor cursor1; EVETextCursor cursor2; EVETextCursor *cursor_f; @@ -30,7 +30,7 @@ typedef struct EVETextWidget { } track; } EVETextWidget; -void eve_textw_init(EVETextWidget *widget, EVERect *g, EVEFont *font, char *text, uint64_t text_size, uint16_t *line, uint16_t line_size); +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); uint8_t eve_textw_draw(EVEWidget *_widget, EVEPage *page, uint8_t tag0); void eve_textw_putc(void *_w, int c); |