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

Public Member Functions

 cMainMenuWidget_List (cInit *apInit, const cVector3f &avPos, const cVector2f &avSize, cVector2f avFontSize)
 
void OnUpdate (float afTimeStep)
 
void OnMouseOver (bool abOver)
 
void OnDraw ()
 
void OnMouseDown (eMButton aButton)
 
void OnMouseUp (eMButton aButton)
 
void AddEntry (const tWString &asText)
 
const tWStringGetSelectedEntry ()
 
int GetSelectedIndex ()
 
void SetSelectedIndex (int alIdx)
 
- 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 ()
 
virtual void OnActivate ()
 
bool IsActive ()
 
void SetActive (bool abX)
 

Protected Attributes

cGraphicsDrawermpDrawer
 
FontDatampFont
 
cGfxObjectmpBackGfx
 
cGfxObjectmpDownGfx
 
cGfxObjectmpUpGfx
 
cGfxObjectmpSlideGfx
 
cGfxObjectmpSlideButtonGfx
 
cGfxObjectmpBorderLeftGfx
 
cGfxObjectmpBorderTopGfx
 
cGfxObjectmpBorderBottomGfx
 
float mfSlideButtonSize
 
float mfSlideButtonPos
 
bool mbSlideButtonPressed
 
float mfSlideButtonMove
 
bool mbOver
 
cVector2f mvFontSize
 
cVector3f mvPosition
 
cVector2f mvSize
 
eFontAlign mAlignment
 
float mfOverTimer
 
int mlMaxRows
 
int mlFirstRow
 
int mlSelected
 
tWStringVec mvEntries
 
cVector2f mvLastMousePos
 
- 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: