/**************************************************************************/
void tsCalibCenterText(char* text, uint16_t y, uint16_t color)
{
- drawString((lcdGetWidth() - drawGetStringWidth(&dejaVuSans9ptFontInfo, text)) / 2, y, color, &dejaVuSans9ptFontInfo, text);
+ fontsDrawString((lcdGetWidth() - fontsGetStringWidth(&dejaVuSans9ptFontInfo, text)) / 2, y, color, &dejaVuSans9ptFontInfo, text);
}
/**************************************************************************/
}
else
{
- // ToDo: Default values required or you can never read LCD position!
// return TS_ERROR_NOTCALIBRATED;
return -1;
}