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

MusicBannerWheel.h

Go to the documentation of this file.
00001 /* MusicBannerWheel - A wheel with song banners used in the Select Music screen. */ 00002 00003 #ifndef MUSICBANNERWHEEL_H 00004 #define MUSICBANNERWHEEL_H 00005 00006 #include "ActorFrame.h" 00007 #include "Banner.h" 00008 #include "Sprite.h" 00009 #include "ScrollingList.h" 00010 #include "SongManager.h" 00011 #include "BitmapText.h" 00012 #include "SongManager.h" 00013 #include "PlayerOptions.h" 00014 #include "SongOptions.h" 00015 00016 00017 class MusicBannerWheel : public ActorFrame 00018 { 00019 public: 00020 MusicBannerWheel(); 00021 ~MusicBannerWheel(); 00022 void BannersLeft(); 00023 void BannersRight(); 00024 Song* GetSelectedSong(); 00025 int CheckSongsExist() { return SongsExist; } 00026 void PlayMusicSample(); 00027 void StartBouncing(); 00028 void StopBouncing(); 00029 void SetScanMode(bool Scanmode); 00030 void ScanToNextGroup(); 00031 00032 private: 00033 void SetNewPos(int NewPos); 00034 void LoadSongData(); 00035 void ChangeNotes(); 00036 void InsertNewBanner(int direction); 00037 00038 bool bScanning; 00039 00040 #ifdef DEBUG 00041 BitmapText m_debugtext; 00042 #endif 00043 00044 ScrollingList m_ScrollingList; 00045 int currentPos; 00046 int scrlistPos; 00047 00048 int SongsExist; 00049 int SingleLoad; 00050 00051 vector<Song*> arraySongs; 00052 }; 00053 00054 #endif 00055 00056 /* 00057 * (c) 2003 "Frieza" 00058 * All rights reserved. 00059 * 00060 * Permission is hereby granted, free of charge, to any person obtaining a 00061 * copy of this software and associated documentation files (the 00062 * "Software"), to deal in the Software without restriction, including 00063 * without limitation the rights to use, copy, modify, merge, publish, 00064 * distribute, and/or sell copies of the Software, and to permit persons to 00065 * whom the Software is furnished to do so, provided that the above 00066 * copyright notice(s) and this permission notice appear in all copies of 00067 * the Software and that both the above copyright notice(s) and this 00068 * permission notice appear in supporting documentation. 00069 * 00070 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00071 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00072 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00073 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00074 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00075 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00076 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00077 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00078 * PERFORMANCE OF THIS SOFTWARE. 00079 */

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