1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2025-08-24 17:41:03 +00:00

Update colors of the Stats menu

Change the color of the text in the stats table and the color of the stats table header.
This commit is contained in:
Kadir Yüksel 2023-08-20 14:03:57 +03:00 committed by GitHub
parent f618f48310
commit 4581757bb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3466,7 +3466,7 @@ CMenuManager::PrintStats()
if (y >= MENU_Y(STATS_TOP_Y + STATS_FADING_AREA_LENGTH) && y <= MENU_Y(STATS_BOTTOM_Y - STATS_FADING_AREA_LENGTH)) if (y >= MENU_Y(STATS_TOP_Y + STATS_FADING_AREA_LENGTH) && y <= MENU_Y(STATS_BOTTOM_Y - STATS_FADING_AREA_LENGTH))
alpha = 255.0f; alpha = 255.0f;
CFont::SetColor(CRGBA(0, 0, 0, FadeIn(Min(255.f, alpha)))); CFont::SetColor(CRGBA(255, 255, 255, FadeIn(Min(255.f, alpha))));
CFont::SetRightJustifyOff(); CFont::SetRightJustifyOff();
CFont::PrintString(MENU_X_LEFT_ALIGNED(STATS_ROW_LEFT_MARGIN), y, gUString); CFont::PrintString(MENU_X_LEFT_ALIGNED(STATS_ROW_LEFT_MARGIN), y, gUString);
CFont::SetRightJustifyOn(); CFont::SetRightJustifyOn();
@ -3498,7 +3498,7 @@ CMenuManager::PrintStats()
#else #else
CFont::SetScale(MENU_X(SMALLTEXT_X_SCALE), MENU_Y(SMALLTEXT_Y_SCALE)); CFont::SetScale(MENU_X(SMALLTEXT_X_SCALE), MENU_Y(SMALLTEXT_Y_SCALE));
#endif #endif
CFont::SetColor(CRGBA(0, 0, 0, FadeIn(255))); CFont::SetColor(CRGBA(255, 255, 255, FadeIn(255)));
CFont::SetDropShadowPosition(0); CFont::SetDropShadowPosition(0);
CFont::PrintString(MENU_X_LEFT_ALIGNED(STATS_RATING_X) - CFont::GetStringWidth(gUString2, true) / 2.f, MENU_Y(STATS_RATING_Y_2), gUString2); CFont::PrintString(MENU_X_LEFT_ALIGNED(STATS_RATING_X) - CFont::GetStringWidth(gUString2, true) / 2.f, MENU_Y(STATS_RATING_Y_2), gUString2);