diff options
author | Brett Weiland <brett_weiland@bpcsapce.com> | 2023-01-12 13:41:48 -0600 |
---|---|---|
committer | Brett Weiland <brett_weiland@bpcsapce.com> | 2023-01-12 13:41:48 -0600 |
commit | b666668d0e6b67e4632e65486cae814ab5abbc39 (patch) | |
tree | 0cf0c2d689799c5e98d505e632248fdc5ed5a072 /src/paint.h | |
parent | 94304b11e7220f060dbc345de5fa1952d0465016 (diff) |
updating for linkedin
Diffstat (limited to 'src/paint.h')
-rw-r--r-- | src/paint.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/paint.h b/src/paint.h index c4efb81..2a82ba0 100644 --- a/src/paint.h +++ b/src/paint.h @@ -4,10 +4,18 @@ #include "ssd1306_display_driver.h" #include "br24t_eeprom_driver.h" +typedef const struct font { + EEPROM_ADDR *font; + uint8_t width; + uint8_t height; + uint16_t first_char; +} font_t; + void screen_clear(); void draw_image(EEPROM_ADDR image); void draw_hline(int pos_y); -void draw_text(char *text, int x, int y, EEPROM_ADDR font); +void draw_text(char *text, int x, int y, font_t font); + #endif |