2002-11-16 08:07:38 +00:00
|
|
|
#ifndef TEXTBANNER_H
|
|
|
|
|
#define TEXTBANNER_H
|
2001-12-11 11:25:37 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
2002-08-13 23:26:46 +00:00
|
|
|
Class: TextBanner
|
2001-12-11 11:25:37 +00:00
|
|
|
|
2002-08-13 23:26:46 +00:00
|
|
|
Desc: Shows song title, subtitle, and artist/. Displayed on the MusicWheel.
|
2001-12-11 11:25:37 +00:00
|
|
|
|
2002-05-19 01:59:48 +00:00
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
2002-08-13 23:26:46 +00:00
|
|
|
Chris Danford
|
2001-12-11 11:25:37 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "ActorFrame.h"
|
|
|
|
|
#include "BitmapText.h"
|
2002-08-13 23:26:46 +00:00
|
|
|
class Song;
|
2001-12-11 11:25:37 +00:00
|
|
|
|
|
|
|
|
class TextBanner : public ActorFrame
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
TextBanner();
|
2003-02-16 10:12:03 +00:00
|
|
|
void LoadFromSong( const Song* pSong );
|
|
|
|
|
void LoadFromString(
|
|
|
|
|
CString sDisplayTitle, CString sTranslitTitle,
|
|
|
|
|
CString sDisplaySubTitle, CString sTranslitSubTitle,
|
|
|
|
|
CString sDisplayArtist, CString sTranslitArtist );
|
2001-12-11 11:25:37 +00:00
|
|
|
|
|
|
|
|
private:
|
2003-02-16 10:12:03 +00:00
|
|
|
|
2001-12-11 11:25:37 +00:00
|
|
|
BitmapText m_textTitle, m_textSubTitle, m_textArtist;
|
|
|
|
|
};
|
2002-11-16 08:07:38 +00:00
|
|
|
|
|
|
|
|
#endif
|