#include <CMenuBase.h>
Public Member Functions | |
CMenuBase (void) | |
virtual | ~CMenuBase (void) |
void | SetDisplay (CDisplay *pDisplay) |
void | SetSound (CSound *pSound) |
void | SetInput (CInput *pInput) |
void | SetOptions (COptions *pOptions) |
void | SetTimer (CTimer *pTimer) |
void | SetFont (CFont *pFont) |
void | Create (void) |
void | Destroy (void) |
EMenuAction | Update (void) |
void | Display (void) |
Protected Member Functions | |
virtual void | OnCreate (void)=0 |
virtual void | OnDestroy (void)=0 |
virtual void | OnUpdate (void)=0 |
virtual void | OnDisplay (void)=0 |
virtual void | OnUp (void)=0 |
virtual void | OnDown (void)=0 |
virtual void | OnLeft (void)=0 |
virtual void | OnRight (void)=0 |
virtual void | OnPrevious (void)=0 |
virtual void | OnNext (void)=0 |
void | Exit (EMenuAction ExitMenuAction) |
Protected Attributes | |
CDisplay * | m_pDisplay |
CSound * | m_pSound |
CInput * | m_pInput |
COptions * | m_pOptions |
CTimer * | m_pTimer |
CFont * | m_pFont |
Private Attributes | |
float | m_MenuModeTime |
Time (in seconds) that elapsed since this menu mode has started. | |
bool | m_HaveToExit |
Do we have to exit this menu mode? | |
EMenuAction | m_ExitMenuAction |
Menu action to ask for when exiting (after transition). | |
float | m_ExitMenuModeTime |
Menu mode time when we realized we have to exit (used for transition). |
CMenuBase::CMenuBase | ( | void | ) |
CMenuBase::~CMenuBase | ( | void | ) | [virtual] |
virtual void CMenuBase::OnCreate | ( | void | ) | [protected, pure virtual] |
Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.
virtual void CMenuBase::OnDestroy | ( | void | ) | [protected, pure virtual] |
Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.
virtual void CMenuBase::OnUpdate | ( | void | ) | [protected, pure virtual] |
Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.
virtual void CMenuBase::OnDisplay | ( | void | ) | [protected, pure virtual] |
Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.
virtual void CMenuBase::OnUp | ( | void | ) | [protected, pure virtual] |
Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.
virtual void CMenuBase::OnDown | ( | void | ) | [protected, pure virtual] |
Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.
virtual void CMenuBase::OnLeft | ( | void | ) | [protected, pure virtual] |
Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.
virtual void CMenuBase::OnRight | ( | void | ) | [protected, pure virtual] |
Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.
virtual void CMenuBase::OnPrevious | ( | void | ) | [protected, pure virtual] |
Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.
virtual void CMenuBase::OnNext | ( | void | ) | [protected, pure virtual] |
Implemented in CMenuBomber, CMenuInput, CMenuLevel, and CMenuMatch.
void CMenuBase::Exit | ( | EMenuAction | ExitMenuAction | ) | [protected] |
void CMenuBase::SetDisplay | ( | CDisplay * | pDisplay | ) | [inline] |
void CMenuBase::SetSound | ( | CSound * | pSound | ) | [inline] |
void CMenuBase::SetInput | ( | CInput * | pInput | ) | [inline] |
void CMenuBase::SetOptions | ( | COptions * | pOptions | ) | [inline] |
void CMenuBase::SetTimer | ( | CTimer * | pTimer | ) | [inline] |
void CMenuBase::SetFont | ( | CFont * | pFont | ) | [inline] |
void CMenuBase::Create | ( | void | ) |
void CMenuBase::Destroy | ( | void | ) |
EMenuAction CMenuBase::Update | ( | void | ) |
void CMenuBase::Display | ( | void | ) |
float CMenuBase::m_MenuModeTime [private] |
Time (in seconds) that elapsed since this menu mode has started.
bool CMenuBase::m_HaveToExit [private] |
Do we have to exit this menu mode?
EMenuAction CMenuBase::m_ExitMenuAction [private] |
Menu action to ask for when exiting (after transition).
float CMenuBase::m_ExitMenuModeTime [private] |
Menu mode time when we realized we have to exit (used for transition).
CDisplay* CMenuBase::m_pDisplay [protected] |
CSound* CMenuBase::m_pSound [protected] |
CInput* CMenuBase::m_pInput [protected] |
COptions* CMenuBase::m_pOptions [protected] |
CTimer* CMenuBase::m_pTimer [protected] |
CFont* CMenuBase::m_pFont [protected] |