| 127 | MenuItemInterface(const String &name) : _name(name) {} |
| 128 | |
| 129 | void clearIconArea(void) { |
| 130 | tft.fillRect(iconAreaX, iconAreaY, iconAreaW, iconAreaH, bruceConfig.bgColor); |
| 131 | } |
| 132 | void clearImgArea(void) { tft.fillRect(7, 27, tftWidth - 14, tftHeight - 34, bruceConfig.bgColor); } |
| 133 | void resetCoordinates(void) { |
| 134 | // Recalculate Center and ared due to portrait/landscape changings |