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

Public Member Functions

 cInventorySlot (cInit *apInit, const cVector2f &avPos, bool abEquip, int alIndex)
 
void OnDraw ()
 
void OnMouseOver ()
 
void OnMouseDown (eMButton aButton)
 
void OnMouseUp (eMButton aButton)
 
void OnDoubleClick (eMButton aButton)
 
void OnUpdate (float afTimeStep)
 
void OnShortcutDown (int alNum)
 
cInventoryItemGetItem ()
 
void SetItem (cInventoryItem *apItem)
 
void SetIndex (int alX)
 
void SetEquip (bool abX)
 
void SetEquipIndex (int alX)
 
int GetEquipIndex ()
 
- Public Member Functions inherited from iInventoryWidget
 iInventoryWidget (cInit *apInit, const cRect2f &aRect, cGfxObject *apGfxObject, float afZ)
 
virtual void Draw ()
 
cRect2fGetRect ()
 
cGfxObjectGetGfxObject ()
 

Additional Inherited Members

- Protected Attributes inherited from iInventoryWidget
cInitmpInit
 
cGraphicsDrawermpDrawer
 
cGfxObjectmpGfxObject
 
cRect2f mRect
 
float mfZ
 

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