This commit is contained in:
Bodmer
2021-05-11 21:38:26 +01:00
parent 612e76343e
commit 8164629397
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -3,10 +3,11 @@
** Grabbed from Adafruit_GFX library and enhanced to handle any label font
***************************************************************************************/
TFT_eSPI_Button::TFT_eSPI_Button(void) {
_gfx = 0;
_gfx = nullptr;
_xd = 0;
_yd = 0;
_textdatum = MC_DATUM;
_label[9] = '\0';
}
// Classic initButton() function: pass center & size