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

ScreenWithMenuElements.h

Go to the documentation of this file.
00001 #ifndef ScreenWithMenuElements_H 00002 #define ScreenWithMenuElements_H 00003 00004 #include "Screen.h" 00005 #include "Sprite.h" 00006 #include "Transition.h" 00007 #include "ActorUtil.h" 00008 #include "RageSound.h" 00009 #include "MemoryCardDisplay.h" 00010 00011 class MenuTimer; 00012 class HelpDisplay; 00013 00014 class ScreenWithMenuElements : public Screen 00015 { 00016 public: 00017 ScreenWithMenuElements( CString sName ); 00018 virtual ~ScreenWithMenuElements(); 00019 00020 void StartTransitioning( ScreenMessage smSendWhenDone ); 00021 void Back( ScreenMessage smSendWhenDone ); 00022 bool IsTransitioning(); 00023 bool m_bTimerEnabled; 00024 00025 void StopTimer(); 00026 void ResetTimer(); 00027 00028 protected: 00029 AutoActor m_autoHeader; 00030 Sprite m_sprStyleIcon; 00031 MemoryCardDisplay m_MemoryCardDisplay[NUM_PLAYERS]; 00032 MenuTimer *m_MenuTimer; 00033 AutoActor m_autoFooter; 00034 HelpDisplay *m_textHelp; 00035 AutoActor m_sprOverlay; 00036 00037 Transition m_In; 00038 Transition m_Out; 00039 Transition m_Back; 00040 }; 00041 00042 #endif 00043 00044 /* 00045 * (c) 2004 Chris Danford 00046 * All rights reserved. 00047 * 00048 * Permission is hereby granted, free of charge, to any person obtaining a 00049 * copy of this software and associated documentation files (the 00050 * "Software"), to deal in the Software without restriction, including 00051 * without limitation the rights to use, copy, modify, merge, publish, 00052 * distribute, and/or sell copies of the Software, and to permit persons to 00053 * whom the Software is furnished to do so, provided that the above 00054 * copyright notice(s) and this permission notice appear in all copies of 00055 * the Software and that both the above copyright notice(s) and this 00056 * permission notice appear in supporting documentation. 00057 * 00058 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00059 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00060 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00061 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00062 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00063 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00064 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00065 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00066 * PERFORMANCE OF THIS SOFTWARE. 00067 */

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