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

Classes

struct  SubImage
 

Public Member Functions

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

Protected Attributes

uint16 _imageSwitchVar
 
Common::Array< SubImage_subImages
 
- Protected Attributes inherited from Mohawk::MystAreaActionSwitch
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
 
- Protected Types inherited from Mohawk::MystAreaActionSwitch
typedef void(MystArea::* AreaHandler) ()
 
- Protected Member Functions inherited from Mohawk::MystAreaActionSwitch
void doSwitch (AreaHandler handler)
 

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