From dabbf944711eef384dcc87b2d49843bedcb1e84a Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Thu, 2 Jul 2020 20:32:50 +0200 Subject: copy/paste for text widget implemented --- code/fe310/eos/eve/screen/font.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'code/fe310/eos/eve/screen/font.h') diff --git a/code/fe310/eos/eve/screen/font.h b/code/fe310/eos/eve/screen/font.h index a46c942..7de3ff5 100644 --- a/code/fe310/eos/eve/screen/font.h +++ b/code/fe310/eos/eve/screen/font.h @@ -8,5 +8,6 @@ typedef struct EVEFont { } EVEFont; void eve_font_init(EVEFont *font, uint8_t font_id); -uint16_t eve_font_string_width(EVEFont *font, char *s); -uint8_t eve_font_height(EVEFont *font); +uint16_t eve_font_strw(EVEFont *font, char *s); +uint16_t eve_font_bufw(EVEFont *font, char *buf, uint16_t buf_len); +uint8_t eve_font_h(EVEFont *font); -- cgit v1.2.3