X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/9e04bf6c52ed702ff98f18fc7d5508bc5f453767..cb0bd1585f0e7ca7fb0f23b571ca558fd810a48f:/drivers/displays/tft/aafonts.h?ds=inline diff --git a/drivers/displays/tft/aafonts.h b/drivers/displays/tft/aafonts.h index 7d0ec34..e09f246 100644 --- a/drivers/displays/tft/aafonts.h +++ b/drivers/displays/tft/aafonts.h @@ -70,6 +70,7 @@ extern const uint16_t COLORTABLE_AA4_WHITEONBLACK[16]; extern const uint16_t COLORTABLE_AA4_BLACKONWHITE[16]; void aafontsDrawString ( uint16_t x, uint16_t y, const uint16_t * colorTable, const aafontsFont_t *font, char *str ); +void aafontsCenterString ( uint16_t x, uint16_t y, const uint16_t * colorTable, const aafontsFont_t *font, char *str ); uint16_t aafontsGetStringWidth ( const aafontsFont_t *font, char *str ); void aafontsCalculateColorTable ( uint16_t bgColor, uint16_t foreColor, uint16_t *colorTable, size_t tableSize );