2004-05-01 23:19:33 +00:00
|
|
|
#ifndef ScreenWithMenuElements_H
|
|
|
|
|
#define ScreenWithMenuElements_H
|
2002-03-30 20:00:13 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
2004-05-01 23:19:33 +00:00
|
|
|
Class: ScreenWithMenuElements
|
2002-03-30 20:00:13 +00:00
|
|
|
|
2004-05-01 23:19:33 +00:00
|
|
|
Desc: Load one of several screens.
|
2002-03-30 20:00:13 +00:00
|
|
|
|
2002-05-19 01:59:48 +00:00
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
2004-05-01 23:19:33 +00:00
|
|
|
Chris Danford
|
2002-03-30 20:00:13 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
2002-05-19 01:59:48 +00:00
|
|
|
#include "Screen.h"
|
2002-03-30 20:00:13 +00:00
|
|
|
#include "Sprite.h"
|
2003-04-13 01:09:19 +00:00
|
|
|
#include "Transition.h"
|
2002-09-29 05:06:18 +00:00
|
|
|
#include "BGAnimation.h"
|
2003-11-04 21:49:38 +00:00
|
|
|
#include "ActorUtil.h"
|
2003-11-07 20:10:38 +00:00
|
|
|
#include "RageSound.h"
|
2003-12-19 04:52:07 +00:00
|
|
|
#include "MemoryCardDisplay.h"
|
2002-03-30 20:00:13 +00:00
|
|
|
|
2003-11-07 20:10:38 +00:00
|
|
|
class MenuTimer;
|
2003-11-17 01:01:44 +00:00
|
|
|
class HelpDisplay;
|
2004-05-01 23:19:33 +00:00
|
|
|
|
|
|
|
|
class ScreenWithMenuElements : public Screen
|
2002-03-30 20:00:13 +00:00
|
|
|
{
|
|
|
|
|
public:
|
2004-05-01 23:19:33 +00:00
|
|
|
ScreenWithMenuElements( CString sName );
|
|
|
|
|
virtual ~ScreenWithMenuElements();
|
2002-03-30 20:00:13 +00:00
|
|
|
|
2003-03-09 00:55:49 +00:00
|
|
|
void StartTransitioning( ScreenMessage smSendWhenDone );
|
|
|
|
|
void Back( ScreenMessage smSendWhenDone );
|
|
|
|
|
bool IsTransitioning();
|
2003-09-26 23:27:22 +00:00
|
|
|
bool m_bTimerEnabled;
|
2002-03-30 20:00:13 +00:00
|
|
|
|
2003-11-07 20:10:38 +00:00
|
|
|
void StopTimer();
|
|
|
|
|
|
2004-05-01 23:19:33 +00:00
|
|
|
protected:
|
2003-03-09 00:55:49 +00:00
|
|
|
BGAnimation m_Background;
|
2002-03-30 20:00:13 +00:00
|
|
|
|
2003-11-04 21:49:38 +00:00
|
|
|
AutoActor m_autoHeader;
|
2002-09-23 07:35:47 +00:00
|
|
|
Sprite m_sprStyleIcon;
|
2003-12-19 04:52:07 +00:00
|
|
|
MemoryCardDisplay m_MemoryCardDisplay[NUM_PLAYERS];
|
2003-11-07 20:10:38 +00:00
|
|
|
MenuTimer *m_MenuTimer;
|
2003-11-04 21:49:38 +00:00
|
|
|
AutoActor m_autoFooter;
|
2003-11-17 01:01:44 +00:00
|
|
|
HelpDisplay *m_textHelp;
|
2002-03-30 20:00:13 +00:00
|
|
|
|
2003-04-13 01:09:19 +00:00
|
|
|
Transition m_In;
|
|
|
|
|
Transition m_Out;
|
|
|
|
|
Transition m_Back;
|
2002-03-30 20:00:13 +00:00
|
|
|
};
|
2002-11-16 08:07:38 +00:00
|
|
|
|
2004-05-02 01:36:28 +00:00
|
|
|
#endif
|
|
|
|
|
|