ScummVM API documentation
cMainMenuWidget_MainButton Class Reference
Inheritance diagram for cMainMenuWidget_MainButton:
cMainMenuWidget cMainMenuWidget_Resume

Public Member Functions

 cMainMenuWidget_MainButton (cInit *apInit, const cVector3f &avPos, const tWString &asText, eMainMenuState aNextState)
 
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)
 

Protected Attributes

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

Additional Inherited Members

- Public Attributes inherited from cMainMenuWidget
bool mbOver
 

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