diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-07-29 09:21:45 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-07-29 09:21:45 +0200 |
commit | 0e518d5117b73fd54081decf1c0eb9f9d3173ff6 (patch) | |
tree | 9ef8f4529e3b24cd9ca16e6c46a89781abc8c670 /code/fe310/eos/eve/widget/strw.h | |
parent | 5a39774e6ed9002de3f0ec1f2cdbba2ebbe9fbde (diff) |
unicode support
Diffstat (limited to 'code/fe310/eos/eve/widget/strw.h')
-rw-r--r-- | code/fe310/eos/eve/widget/strw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/fe310/eos/eve/widget/strw.h b/code/fe310/eos/eve/widget/strw.h index 1277c20..72fc6aa 100644 --- a/code/fe310/eos/eve/widget/strw.h +++ b/code/fe310/eos/eve/widget/strw.h @@ -9,7 +9,7 @@ typedef struct EVEStrCursor { typedef struct EVEStrWidget { EVEWidget w; EVEFont *font; - char *str; + utf8_t *str; uint16_t str_size; uint16_t str_len; struct { @@ -27,7 +27,7 @@ typedef struct EVEStrWidget { } track; } EVEStrWidget; -void eve_strw_init(EVEStrWidget *widget, EVERect *g, EVEFont *font, char *str, uint16_t str_size); +void eve_strw_init(EVEStrWidget *widget, EVERect *g, EVEFont *font, utf8_t *str, uint16_t str_size); int eve_strw_touch(EVEWidget *_widget, EVEPage *page, uint8_t tag0, int touch_idx); uint8_t eve_strw_draw(EVEWidget *_widget, EVEPage *page, uint8_t tag0); void eve_strw_putc(void *_page, int c); |