Cursor editing

This commit is contained in:
Thomas Göttgens
2022-09-20 16:21:32 +02:00
parent d0ad5dd4cf
commit 0a8293a2d6
3 changed files with 68 additions and 8 deletions

View File

@@ -117,6 +117,7 @@ static uint16_t displayWidth, displayHeight;
#define FONT_HEIGHT_SMALL fontHeight(FONT_SMALL)
#define FONT_HEIGHT_MEDIUM fontHeight(FONT_MEDIUM)
#define FONT_HEIGHT_LARGE fontHeight(FONT_LARGE)
#define getStringCenteredX(s) ((SCREEN_WIDTH - display->getStringWidth(s)) / 2)