ScummVM API documentation
cMainMenuWidget_NewGame Class Reference
Inheritance diagram for cMainMenuWidget_NewGame:
cMainMenuWidget_Button cMainMenuWidget

Public Member Functions

 cMainMenuWidget_NewGame (cInit *apInit, const cVector3f &avPos, const tWString &asText, cVector2f avFontSize, eFontAlign aAlignment, eGameDifficulty aDiffuculty)
 
virtual void OnMouseDown (eMButton aButton)
 
- Public Member Functions inherited from cMainMenuWidget_Button
 cMainMenuWidget_Button (cInit *apInit, const cVector3f &avPos, const tWString &asText, eMainMenuState aNextState, cVector2f avFontSize, eFontAlign aAlignment)
 
void OnUpdate (float afTimeStep)
 
void OnMouseOver (bool abOver)
 
void OnDraw ()
 
virtual void OnMouseDown (eMButton aButton)
 
virtual void OnMouseUp (eMButton aButton)
 
void OnActivate ()
 
- Public Member Functions inherited from cMainMenuWidget
 cMainMenuWidget (cInit *apInit, const cVector3f &avPos, const cVector2f &avSize)
 
virtual void OnUpdate (float afTimeStep)
 
virtual void OnDraw ()
 
virtual void OnMouseDown (eMButton aButton)
 
virtual void OnMouseUp (eMButton aButton)
 
virtual void OnDoubleClick (eMButton aButton)
 
virtual void OnMouseOver (bool abOver)
 
const cRect2f & GetRect ()
 
virtual void Reset ()
 
virtual void OnActivate ()
 
bool IsActive ()
 
void SetActive (bool abX)
 

Additional Inherited Members

- Public Attributes inherited from cMainMenuWidget_Button
tWString msText
 
- Public Attributes inherited from cMainMenuWidget
bool mbOver
 
- Protected Attributes inherited from cMainMenuWidget_Button
FontData * mpFont
 
cVector2f mvFontSize
 
eMainMenuState mNextState
 
tWString msTip
 
eFontAlign mAlignment
 
float mfOverTimer
 
- Protected Attributes inherited from cMainMenuWidget
cInit * mpInit
 
cGraphicsDrawer * mpDrawer
 
cVector3f mvPositon
 
cRect2f mRect
 
float mfAlpha
 
bool mbActive
 

Member Function Documentation

◆ OnMouseDown()

virtual void cMainMenuWidget_NewGame::OnMouseDown ( eMButton  aButton)
virtual

Reimplemented from cMainMenuWidget_Button.


The documentation for this class was generated from the following file: