Make charBounds virtual, so getTextBounds can use an override.

This commit is contained in:
gilesp1729 committed 2024-07-20 18:15:13 +10:00
1 parent 81764008a4
commit 68366b0716
1 file changed
+1 -1
+1 -1
View File
@@ -230,7 +230,7 @@ public:
int16_t getCursorY(void) const { return cursor_y; };
protected:
void charBounds(unsigned char c, int16_t *x, int16_t *y, int16_t *minx,
virtual void charBounds(unsigned char c, int16_t *x, int16_t *y, int16_t *minx,
int16_t *miny, int16_t *maxx, int16_t *maxy);
int16_t WIDTH; ///< This is the 'raw' display width - never changes
int16_t HEIGHT; ///< This is the 'raw' display height - never changes