Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

TextBanner.h

Go to the documentation of this file.
00001 /* TextBanner - Shows song title, subtitle, and artist. Displayed on the MusicWheel. */ 00002 00003 #ifndef TEXTBANNER_H 00004 #define TEXTBANNER_H 00005 00006 #include "ActorFrame.h" 00007 #include "BitmapText.h" 00008 class Song; 00009 00010 class TextBanner : public ActorFrame 00011 { 00012 public: 00013 TextBanner(); 00014 void LoadFromSong( const Song* pSong ); 00015 void LoadFromString( 00016 CString sDisplayTitle, CString sTranslitTitle, 00017 CString sDisplaySubTitle, CString sTranslitSubTitle, 00018 CString sDisplayArtist, CString sTranslitArtist ); 00019 00020 private: 00021 bool m_bInitted; 00022 void Init(); 00023 00024 BitmapText m_textTitle, m_textSubTitle, m_textArtist; 00025 }; 00026 00027 #endif 00028 00029 /* 00030 * (c) 2001-2004 Chris Danford 00031 * All rights reserved. 00032 * 00033 * Permission is hereby granted, free of charge, to any person obtaining a 00034 * copy of this software and associated documentation files (the 00035 * "Software"), to deal in the Software without restriction, including 00036 * without limitation the rights to use, copy, modify, merge, publish, 00037 * distribute, and/or sell copies of the Software, and to permit persons to 00038 * whom the Software is furnished to do so, provided that the above 00039 * copyright notice(s) and this permission notice appear in all copies of 00040 * the Software and that both the above copyright notice(s) and this 00041 * permission notice appear in supporting documentation. 00042 * 00043 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00044 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00045 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00046 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00047 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00048 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00049 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00050 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00051 * PERFORMANCE OF THIS SOFTWARE. 00052 */

Generated on Thu Jan 27 20:57:34 2005 for StepMania by doxygen 1.3.7