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

Public Member Functions

 MystAreaSlider (MohawkEngine_Myst *vm, ResourceType type, Common::SeekableReadStream *rlstStream, MystArea *parent)
 
void handleMouseDown () override
 
void handleMouseUp () override
 
void handleMouseDrag () override
 
void setStep (uint16 step)
 
void setPosition (uint16 pos)
 
void restoreBackground ()
 
- Public Member Functions inherited from Mohawk::MystAreaDrag
 MystAreaDrag (MohawkEngine_Myst *vm, ResourceType type, Common::SeekableReadStream *rlstStream, MystArea *parent)
 
const Common::String describe () override
 
uint16 getList1 (uint16 index)
 
uint16 getList2 (uint16 index)
 
uint16 getList3 (uint16 index)
 
uint16 getStepsH ()
 
uint16 getStepsV ()
 
- Public Member Functions inherited from Mohawk::MystAreaImageSwitch
 MystAreaImageSwitch (MohawkEngine_Myst *vm, ResourceType type, Common::SeekableReadStream *rlstStream, MystArea *parent)
 
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
 
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 ()
 

Protected Member Functions

Common::Rect boundingBox ()
 
void updatePosition (const Common::Point &mouse)
 
- Protected Member Functions inherited from Mohawk::MystAreaDrag
void setPositionClipping (const Common::Point &mouse, Common::Point &dest)
 
- Protected Member Functions inherited from Mohawk::MystAreaActionSwitch
void doSwitch (AreaHandler handler)
 

Protected Attributes

uint16 _dragSound
 
uint16 _sliderWidth
 
uint16 _sliderHeight
 
- Protected Attributes inherited from Mohawk::MystAreaDrag
uint16 _flagHV
 
uint16 _minH
 
uint16 _maxH
 
uint16 _minV
 
uint16 _maxV
 
uint16 _stepsH
 
uint16 _stepsV
 
uint16 _stepH
 
uint16 _stepV
 
uint16 _mouseDownOpcode
 
uint16 _mouseDragOpcode
 
uint16 _mouseUpOpcode
 
ValueList _lists [3]
 
- Protected Attributes inherited from Mohawk::MystAreaImageSwitch
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::MystAreaDrag
Common::Point _pos
 
- Public Attributes inherited from Mohawk::MystArea
MystArea_parent
 
- Protected Types inherited from Mohawk::MystAreaDrag
typedef Common::Array< uint16 > ValueList
 
- Protected Types inherited from Mohawk::MystAreaActionSwitch
typedef void(MystArea::* AreaHandler) ()
 

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