feat: redesign PRTS main menu cards with large icons, black boot screen

This commit is contained in:
TuxMonkey
2026-07-21 22:23:40 +08:00
parent dc57b5152e
commit 0602520e4f
3 changed files with 84 additions and 72 deletions

View File

@@ -653,13 +653,9 @@ void TFT_ShowBootScreen(void)
}
tft_transfer_ok = true;
uint16_t band_h = TFT_LCD_H / 3U;
TFT_FillRect(0U, 0U, TFT_LCD_W, band_h, TFT_COLOR_BLUE);
TFT_FillRect(0U, band_h, TFT_LCD_W, band_h, TFT_COLOR_GREEN);
TFT_FillRect(0U, (uint16_t) (band_h * 2U), TFT_LCD_W, (uint16_t) (TFT_LCD_H - band_h * 2U), TFT_COLOR_RED);
TFT_DrawString(16U, 22U, "DM LCD", TFT_COLOR_WHITE, TFT_COLOR_BLUE, 3U);
TFT_DrawString(16U, (uint16_t) (band_h + 24U), "BOOT", TFT_COLOR_BLACK, TFT_COLOR_GREEN, 3U);
TFT_DrawString(16U, (uint16_t) (band_h * 2U + 24U), "WAIT IMU", TFT_COLOR_WHITE, TFT_COLOR_RED, 2U);
TFT_Clear(TFT_COLOR_BLACK);
TFT_DrawString(20U, 80U, "TronOneH7-Scaffold", TFT_COLOR_WHITE, TFT_COLOR_BLACK, 2U);
TFT_DrawString(107U, 130U, "Starting...", TFT_COLOR_WHITE, TFT_COLOR_BLACK, 1U);
}
const char *TFT_RobotModeText(RobotMode_t mode)