ScummVM API documentation
cMainMenuWidget_Text Class Reference
Inheritance diagram for cMainMenuWidget_Text:
cMainMenuWidget

Public Member Functions

 cMainMenuWidget_Text (cInit *apInit, const cVector3f &avPos, const tWString &asText, cVector2f avFontSize, eFontAlign aAlignment, cMainMenuWidget *apExtra=NULL, float afMaxWidth=0)
 
void OnDraw ()
 
void OnMouseDown (eMButton aButton)
 
void OnMouseOver (bool abOver)
 
void SetExtraWidget (cMainMenuWidget *apExtra)
 
cMainMenuWidgetGetExtraWidget ()
 
void UpdateSize ()
 
- Public Member Functions inherited from cMainMenuWidget
 cMainMenuWidget (cInit *apInit, const cVector3f &avPos, const cVector2f &avSize)
 
virtual void OnUpdate (float afTimeStep)
 
virtual void OnMouseUp (eMButton aButton)
 
virtual void OnDoubleClick (eMButton aButton)
 
const cRect2fGetRect ()
 
virtual void Reset ()
 
virtual void OnActivate ()
 
bool IsActive ()
 
void SetActive (bool abX)
 

Public Attributes

tWString msText
 
- Public Attributes inherited from cMainMenuWidget
bool mbOver
 

Protected Attributes

FontDatampFont
 
eFontAlign mAlignment
 
cVector2f mvFontSize
 
float mfMaxWidth
 
cMainMenuWidgetmpExtra
 
- 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: