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

Public Member Functions

 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 OnDoubleClick (eMButton aButton)
 
const cRect2fGetRect ()
 
virtual void Reset ()
 
bool IsActive ()
 
void SetActive (bool abX)
 

Public Attributes

tWString msText
 
- Public Attributes inherited from cMainMenuWidget
bool mbOver
 

Protected Attributes

FontDatampFont
 
cVector2f mvFontSize
 
eMainMenuState mNextState
 
tWString msTip
 
eFontAlign mAlignment
 
float mfOverTimer
 
- Protected Attributes inherited from cMainMenuWidget
cInitmpInit
 
cGraphicsDrawermpDrawer
 
cVector3f mvPositon
 
cRect2f mRect
 
float mfAlpha
 
bool mbActive
 

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