Add course support to FadingBanner.
This commit is contained in:
@@ -71,3 +71,9 @@ void FadingBanner::SetRoulette()
|
|||||||
BeforeChange();
|
BeforeChange();
|
||||||
m_Banner[0].LoadRoulette();
|
m_Banner[0].LoadRoulette();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void FadingBanner::SetFromCourse( Course *pCourse )
|
||||||
|
{
|
||||||
|
BeforeChange();
|
||||||
|
m_Banner[0].LoadFromCourse( pCourse );
|
||||||
|
}
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ public:
|
|||||||
void SetFromSong( Song* pSong );
|
void SetFromSong( Song* pSong );
|
||||||
void SetFromGroup( const CString &sGroupName );
|
void SetFromGroup( const CString &sGroupName );
|
||||||
void SetRoulette();
|
void SetRoulette();
|
||||||
|
void SetFromCourse( Course *pCourse );
|
||||||
//void SetFromTexture( const CString &sTexturePath );
|
//void SetFromTexture( const CString &sTexturePath );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
Reference in New Issue
Block a user