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/screen/font.h | |
parent | 5a39774e6ed9002de3f0ec1f2cdbba2ebbe9fbde (diff) |
unicode support
Diffstat (limited to 'code/fe310/eos/eve/screen/font.h')
-rw-r--r-- | code/fe310/eos/eve/screen/font.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/code/fe310/eos/eve/screen/font.h b/code/fe310/eos/eve/screen/font.h index 525e669..aff038c 100644 --- a/code/fe310/eos/eve/screen/font.h +++ b/code/fe310/eos/eve/screen/font.h @@ -8,6 +8,7 @@ typedef struct EVEFont { } EVEFont; void eve_font_init(EVEFont *font, uint8_t font_id); -uint16_t eve_font_str_w(EVEFont *font, char *s); -uint16_t eve_font_buf_w(EVEFont *font, char *buf, uint16_t buf_len); +uint8_t eve_font_ch_w(EVEFont *font, utf32_t ch); +uint16_t eve_font_str_w(EVEFont *font, utf8_t *str); +uint16_t eve_font_buf_w(EVEFont *font, utf8_t *buf, uint16_t buf_len); uint8_t eve_font_h(EVEFont *font); |