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 tWString & | GetSelectedEntry () |
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 cRect2f & | GetRect () |
virtual void | Reset () |
virtual void | OnActivate () |
bool | IsActive () |
void | SetActive (bool abX) |
Protected Attributes | |
cGraphicsDrawer * | mpDrawer |
FontData * | mpFont |
cGfxObject * | mpBackGfx |
cGfxObject * | mpDownGfx |
cGfxObject * | mpUpGfx |
cGfxObject * | mpSlideGfx |
cGfxObject * | mpSlideButtonGfx |
cGfxObject * | mpBorderLeftGfx |
cGfxObject * | mpBorderTopGfx |
cGfxObject * | mpBorderBottomGfx |
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 | |
cInit * | mpInit |
cGraphicsDrawer * | mpDrawer |
cVector3f | mvPositon |
cRect2f | mRect |
float | mfAlpha |
bool | mbActive |
Additional Inherited Members | |
Public Attributes inherited from cMainMenuWidget | |
bool | mbOver |