diff options
Diffstat (limited to 'fw/fe310/eos/eve/eve_font.h')
-rw-r--r-- | fw/fe310/eos/eve/eve_font.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fw/fe310/eos/eve/eve_font.h b/fw/fe310/eos/eve/eve_font.h index c098519..c384877 100644 --- a/fw/fe310/eos/eve/eve_font.h +++ b/fw/fe310/eos/eve/eve_font.h @@ -10,7 +10,7 @@ typedef struct EVEFont { } EVEFont; void eve_font_init(EVEFont *font, uint8_t font_id); -uint8_t eve_font_ch_w(EVEFont *font, ucp_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); +int eve_font_ch_w(EVEFont *font, ucp_t ch); +int eve_font_str_w(EVEFont *font, utf8_t *str, int *str_w, size_t *str_len); +int eve_font_buf_w(EVEFont *font, utf8_t *buf, size_t buf_len, int *str_w, size_t *str_len); uint8_t eve_font_h(EVEFont *font); |