Files
itgmania212121/stepmania/src/FadingBanner.h
T

37 lines
775 B
C++

#pragma once
/*
-----------------------------------------------------------------------------
Class: FadingBanner
Desc: Fades between two banners.
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "Banner.h"
#include "ActorFrame.h"
class Song;
class Course;
class FadingBanner : public ActorFrame
{
public:
FadingBanner();
void SetCroppedSize( float fWidth, float fHeight );
void Update( float fDeltaTime );
void SetFromSong( Song* pSong );
void SetFromGroup( const CString &sGroupName );
void SetRoulette();
void SetFromCourse( Course* pCourse );
protected:
void BeforeChange();
Banner m_Banner[2]; // front and back
};