half-finished codes, options icons, and two new modifiers.
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
FadingBanner::FadingBanner()
|
||||
{
|
||||
// these guys get loaded on the Set* methods
|
||||
this->AddSubActor( &m_Banner[0] );
|
||||
this->AddSubActor( &m_Banner[1] );
|
||||
this->AddChild( &m_Banner[0] );
|
||||
this->AddChild( &m_Banner[1] );
|
||||
}
|
||||
|
||||
void FadingBanner::SetCroppedSize( float fWidth, float fHeight )
|
||||
@@ -47,9 +47,10 @@ void FadingBanner::BeforeChange()
|
||||
m_Banner[1].SetScrolling( m_Banner[0].IsScrolling() );
|
||||
}
|
||||
|
||||
m_Banner[1].SetDiffuseColor( D3DXCOLOR(1,1,1,1) );
|
||||
m_Banner[1].SetDiffuse( D3DXCOLOR(1,1,1,1) );
|
||||
m_Banner[1].StopTweening();
|
||||
m_Banner[1].BeginTweening( 0.25f ); // fade out
|
||||
m_Banner[1].SetTweenDiffuseColor( D3DXCOLOR(1,1,1,0) );
|
||||
m_Banner[1].SetTweenDiffuse( D3DXCOLOR(1,1,1,0) );
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user