ScummVM API documentation
Mohawk::MystAreaActionSwitch Class Reference
Inheritance diagram for Mohawk::MystAreaActionSwitch:
Mohawk::MystArea Mohawk::MystAreaImageSwitch Mohawk::MystAreaDrag Mohawk::MystAreaSlider Mohawk::MystVideoInfo

Public Member Functions

 MystAreaActionSwitch (MohawkEngine_Myst *vm, ResourceType type, Common::SeekableReadStream *rlstStream, MystArea *parent)
 
void drawDataToScreen () override
 
void handleCardChange () override
 
void handleMouseUp () override
 
void handleMouseDown () override
 
MystArea * getSubResource (uint16 index)
 
- Public Member Functions inherited from Mohawk::MystArea
 MystArea (MohawkEngine_Myst *vm, ResourceType type, Common::SeekableReadStream *rlstStream, MystArea *parent)
 
virtual const Common::String describe ()
 
void drawBoundingRect ()
 
bool hasType (ResourceType type) const
 
bool contains (Common::Point point)
 
virtual void drawDataToScreen ()
 
virtual void handleCardChange ()
 
Common::Rect getRect ()
 
void setRect (const Common::Rect &rect)
 
bool isEnabled ()
 
void setEnabled (bool enabled)
 
bool isDrawSubimages ()
 
uint16 getDest ()
 
virtual uint16 getImageSwitchVar ()
 
bool unreachableZipDest ()
 
bool canBecomeActive ()
 
virtual void handleMouseUp ()
 
virtual void handleMouseDown ()
 
virtual void handleMouseDrag ()
 

Protected Types

typedef void(MystArea::* AreaHandler) ()
 

Protected Member Functions

void doSwitch (AreaHandler handler)
 

Protected Attributes

uint16 _actionSwitchVar
 
Common::Array< MystArea * > _subResources
 
- Protected Attributes inherited from Mohawk::MystArea
MohawkEngine_Myst * _vm
 
ResourceType _type
 
uint16 _flags
 
Common::Rect _rect
 
uint16 _dest
 

Additional Inherited Members

- Public Attributes inherited from Mohawk::MystArea
MystArea * _parent
 

Member Function Documentation

◆ drawDataToScreen()

void Mohawk::MystAreaActionSwitch::drawDataToScreen ( )
overridevirtual

Reimplemented from Mohawk::MystArea.

◆ handleCardChange()

void Mohawk::MystAreaActionSwitch::handleCardChange ( )
overridevirtual

Reimplemented from Mohawk::MystArea.

◆ handleMouseUp()

void Mohawk::MystAreaActionSwitch::handleMouseUp ( )
overridevirtual

Reimplemented from Mohawk::MystArea.

◆ handleMouseDown()

void Mohawk::MystAreaActionSwitch::handleMouseDown ( )
overridevirtual

Reimplemented from Mohawk::MystArea.


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