2001-12-11 11:25:37 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
File: TextBanner.h
|
|
|
|
|
|
|
|
|
|
Desc: The song's TextBanner displayed in SelectSong.
|
|
|
|
|
|
2002-04-16 17:31:00 +00:00
|
|
|
Copyright (c) 2001-2002 by the persons listed below. All rights reserved.
|
2001-12-11 11:25:37 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _TextBanner_H_
|
|
|
|
|
#define _TextBanner_H_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "ActorFrame.h"
|
|
|
|
|
#include "Song.h"
|
|
|
|
|
#include "BitmapText.h"
|
2002-03-30 20:00:13 +00:00
|
|
|
#include "RectangleActor.h"
|
2001-12-11 11:25:37 +00:00
|
|
|
|
|
|
|
|
|
2002-04-16 17:31:00 +00:00
|
|
|
const float TEXT_BANNER_WIDTH = 180;
|
2002-01-16 10:01:32 +00:00
|
|
|
const float TEXT_BANNER_HEIGHT = 40;
|
2001-12-11 11:25:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
class TextBanner : public ActorFrame
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
TextBanner();
|
2002-02-05 05:33:33 +00:00
|
|
|
bool LoadFromSong( Song* pSong );
|
2001-12-11 11:25:37 +00:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
BitmapText m_textTitle, m_textSubTitle, m_textArtist;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|