mirror of
https://gitee.com/dlmu-cone/tronone-h7-scaffold
synced 2026-07-24 03:27:45 +08:00
feat: redesign PRTS main menu cards with large icons, black boot screen
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user