ScummVM API documentation
Pegasus::MoleculeBin Class Reference
Inheritance diagram for Pegasus::MoleculeBin:
Pegasus::DisplayElement Pegasus::IDObject

Public Member Functions

void initMoleculeBin ()
 
void cleanUpMoleculeBin ()
 
void setBinLayout (const uint32 *)
 
void highlightMolecule (const uint32 whichMolecule)
 
void selectMolecule (const int whichMolecule)
 
void resetBin ()
 
bool isMoleculeHighlighted (uint32)
 
- Public Member Functions inherited from Pegasus::DisplayElement
 DisplayElement (const DisplayElementID)
 
void setDisplayOrder (const DisplayOrder)
 
DisplayOrder getDisplayOrder () const
 
bool validToDraw (DisplayOrder, DisplayOrder)
 
bool isDisplaying ()
 
virtual void startDisplaying ()
 
virtual void stopDisplaying ()
 
virtual void show ()
 
virtual void hide ()
 
bool isVisible ()
 
void triggerRedraw ()
 
void setTriggeredElement (DisplayElement *)
 
virtual void setBounds (const CoordType, const CoordType, const CoordType, const CoordType)
 
virtual void setBounds (const Common::Rect &)
 
virtual void getBounds (Common::Rect &) const
 
virtual void sizeElement (const CoordType, const CoordType)
 
virtual void moveElementTo (const CoordType, const CoordType)
 
virtual void moveElement (const CoordType, const CoordType)
 
virtual void getLocation (CoordType &, CoordType &) const
 
virtual void getCenter (CoordType &, CoordType &) const
 
virtual void centerElementAt (const CoordType, const CoordType)
 
- Public Member Functions inherited from Pegasus::IDObject
 IDObject (const int32 id)
 
int32 getObjectID () const
 

Protected Member Functions

void draw (const Common::Rect &) override
 

Protected Attributes

Surface _binImages
 
FlagsArray< byte, kMolecule6+1 > _moleculeFlags
 
int _selectedMolecule
 
uint32 _binLayout [6]
 
uint32 _highlightColor
 
- Protected Attributes inherited from Pegasus::DisplayElement
Common::Rect _bounds
 
bool _elementIsVisible
 
DisplayElement_triggeredElement
 
bool _elementIsDisplaying
 
DisplayOrder _elementOrder
 
DisplayElement_nextElement
 

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