ScummVM API documentation
cInventoryBattery Class Reference
Inheritance diagram for cInventoryBattery:
iInventoryWidget

Public Member Functions

 cInventoryBattery (cInit *apInit, const cRect2f &aRect, cGfxObject *apGfxObject, float afZ)
 
void OnDraw ()
 
void OnMouseOver ()
 
void OnUpdate (float afTimeStep)
 
- Public Member Functions inherited from iInventoryWidget
 iInventoryWidget (cInit *apInit, const cRect2f &aRect, cGfxObject *apGfxObject, float afZ)
 
virtual void Draw ()
 
virtual void OnDraw ()
 
virtual void OnMouseOver ()
 
virtual void OnMouseDown (eMButton aButton)
 
virtual void OnMouseUp (eMButton aButton)
 
virtual void OnDoubleClick (eMButton aButton)
 
virtual void OnUpdate (float afTimeStep)
 
virtual void OnShortcutDown (int alNum)
 
cRect2f & GetRect ()
 
cGfxObject * GetGfxObject ()
 

Additional Inherited Members

- Protected Attributes inherited from iInventoryWidget
cInit * mpInit
 
cGraphicsDrawer * mpDrawer
 
cGfxObject * mpGfxObject
 
cRect2f mRect
 
float mfZ
 

Member Function Documentation

◆ OnDraw()

void cInventoryBattery::OnDraw ( )
virtual

Reimplemented from iInventoryWidget.

◆ OnMouseOver()

void cInventoryBattery::OnMouseOver ( )
virtual

Reimplemented from iInventoryWidget.

◆ OnUpdate()

void cInventoryBattery::OnUpdate ( float  afTimeStep)
virtual

Reimplemented from iInventoryWidget.


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