change lyrics text color

This commit is contained in:
Chris Danford
2003-09-13 20:28:45 +00:00
parent a8bb248ed2
commit 58b575b511
2 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -1877,8 +1877,8 @@ BannerWidth=564
BannerHeight=184
[LyricDisplay]
InCommand=diffusealpha,0;zoomy,0;spring,0.20;zoomy,1;diffusealpha,1
OutCommand=linear,0.20;zoomy,0;diffusealpha,1
InCommand=shadowlength,0;zoomy,0;spring,0.20;zoomy,1;
OutCommand=linear,0.20;zoomy,0
[ScoreKeeperRave]
AttackDurationSeconds=10
+6 -1
View File
@@ -15,6 +15,7 @@ LyricDisplay::LyricDisplay()
{
m_textLyrics[i].LoadFromFont( THEME->GetPathToF("LyricDisplay text") );
m_textLyrics[i].SetDiffuse( RageColor(1,1,1,1) );
m_textLyrics[i].SetDiffuse( RageColor(1,1,1,1) );
this->AddChild(&m_textLyrics[i]);
}
@@ -97,7 +98,11 @@ void LyricDisplay::Update( float fDeltaTime )
RageColor color = GAMESTATE->m_pCurSong->m_LyricSegments[m_iCurLyricNumber].m_Color;
if( i==0 )
color /= 2;
{
for( int c=0; c<4; c++ )
color[c] /= 2;
color.a = 0.5f;
}
m_textLyrics[i].SetDiffuse(color);
if( i==1 )