** Function: boot_screen ** Draw boot screen *********************************************************************/
| 229 | ** Draw boot screen |
| 230 | *********************************************************************/ |
| 231 | void boot_screen() { |
| 232 | tft.setTextColor(bruceConfig.priColor, bruceConfig.bgColor); |
| 233 | tft.setTextSize(FM); |
| 234 | tft.drawPixel(0, 0, bruceConfig.bgColor); |
| 235 | tft.drawCentreString("Bruce", tftWidth / 2, 10, 1); |
| 236 | tft.setTextSize(FP); |
| 237 | tft.drawCentreString(BRUCE_VERSION, tftWidth / 2, 25, 1); |
| 238 | tft.setTextSize(FM); |
| 239 | tft.drawCentreString( |
| 240 | "PREDATORY FIRMWARE", tftWidth / 2, tftHeight + 2, 1 |
| 241 | ); // will draw outside the screen on non touch devices |
| 242 | } |
| 243 | |
| 244 | /********************************************************************* |
| 245 | ** Function: boot_screen_anim |
no test coverage detected