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

ScreenMiniMenu Class Reference

#include <ScreenMiniMenu.h>

Inheritance diagram for ScreenMiniMenu:

Inheritance graph
[legend]
Collaboration diagram for ScreenMiniMenu:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScreenMiniMenu (CString sName)
 ScreenMiniMenu (Menu *pDef, ScreenMessage SM_SendOnOK, ScreenMessage SM_SendOnCancel)
virtual void Update (float fDeltaTime)
virtual void DrawPrimitives ()
virtual void Input (const DeviceInput &DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI)
virtual void HandleScreenMessage (const ScreenMessage SM)

Static Public Attributes

int s_iLastLine
int s_iLastAnswers [MAX_MENU_ROWS]

Protected Member Functions

void MenuUp (PlayerNumber pn, const InputEventType type)
void MenuDown (PlayerNumber pn, const InputEventType type)
void MenuLeft (PlayerNumber pn, const InputEventType type)
void MenuRight (PlayerNumber pn, const InputEventType type)
void MenuBack (PlayerNumber pn)
void MenuStart (PlayerNumber pn, const InputEventType type)
int GetGoUpSpot ()
int GetGoDownSpot ()
bool CanGoLeft ()
bool CanGoRight ()
void BeforeLineChanged ()
void AfterLineChanged ()
void AfterAnswerChanged ()

Protected Attributes

BGAnimation m_Background
Menu m_Def
BitmapText m_textTitle
BitmapText m_textLabel [MAX_MENU_ROWS]
BitmapText m_textAnswer [MAX_MENU_ROWS]
int m_iCurLine
int m_iCurAnswers [MAX_MENU_ROWS]
ScreenMessage m_SMSendOnOK
ScreenMessage m_SMSendOnCancel
Transition m_In
Transition m_Out

Constructor & Destructor Documentation

ScreenMiniMenu::ScreenMiniMenu CString  sName  ) 
 

ScreenMiniMenu::ScreenMiniMenu Menu pDef,
ScreenMessage  SM_SendOnOK,
ScreenMessage  SM_SendOnCancel
 


Member Function Documentation

void ScreenMiniMenu::AfterAnswerChanged  )  [protected]
 

void ScreenMiniMenu::AfterLineChanged  )  [protected]
 

void ScreenMiniMenu::BeforeLineChanged  )  [protected]
 

bool ScreenMiniMenu::CanGoLeft  )  [protected]
 

bool ScreenMiniMenu::CanGoRight  )  [protected]
 

void ScreenMiniMenu::DrawPrimitives  )  [virtual]
 

Reimplemented from ActorFrame.

int ScreenMiniMenu::GetGoDownSpot  )  [protected]
 

int ScreenMiniMenu::GetGoUpSpot  )  [protected]
 

void ScreenMiniMenu::HandleScreenMessage const ScreenMessage  SM  )  [virtual]
 

Reimplemented from Screen.

void ScreenMiniMenu::Input const DeviceInput DeviceI,
const InputEventType  type,
const GameInput GameI,
const MenuInput MenuI,
const StyleInput StyleI
[virtual]
 

Reimplemented from Screen.

void ScreenMiniMenu::MenuBack PlayerNumber  pn  )  [protected, virtual]
 

Reimplemented from Screen.

void ScreenMiniMenu::MenuDown PlayerNumber  pn,
const InputEventType  type
[protected, virtual]
 

Reimplemented from Screen.

void ScreenMiniMenu::MenuLeft PlayerNumber  pn,
const InputEventType  type
[protected, virtual]
 

Reimplemented from Screen.

void ScreenMiniMenu::MenuRight PlayerNumber  pn,
const InputEventType  type
[protected, virtual]
 

Reimplemented from Screen.

void ScreenMiniMenu::MenuStart PlayerNumber  pn,
const InputEventType  type
[protected, virtual]
 

Reimplemented from Screen.

void ScreenMiniMenu::MenuUp PlayerNumber  pn,
const InputEventType  type
[protected, virtual]
 

Reimplemented from Screen.

void ScreenMiniMenu::Update float  fDeltaTime  )  [virtual]
 

Reimplemented from Screen.


Member Data Documentation

BGAnimation ScreenMiniMenu::m_Background [protected]
 

Menu ScreenMiniMenu::m_Def [protected]
 

int ScreenMiniMenu::m_iCurAnswers[MAX_MENU_ROWS] [protected]
 

int ScreenMiniMenu::m_iCurLine [protected]
 

Transition ScreenMiniMenu::m_In [protected]
 

Transition ScreenMiniMenu::m_Out [protected]
 

ScreenMessage ScreenMiniMenu::m_SMSendOnCancel [protected]
 

ScreenMessage ScreenMiniMenu::m_SMSendOnOK [protected]
 

BitmapText ScreenMiniMenu::m_textAnswer[MAX_MENU_ROWS] [protected]
 

BitmapText ScreenMiniMenu::m_textLabel[MAX_MENU_ROWS] [protected]
 

BitmapText ScreenMiniMenu::m_textTitle [protected]
 

int ScreenMiniMenu::s_iLastAnswers [static]
 

int ScreenMiniMenu::s_iLastLine [static]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 21:03:03 2005 for StepMania by doxygen 1.3.7