ScummVM API documentation
Director::Channel Class Reference

Public Member Functions

 Channel (Score *sc, Sprite *sp, int priority=0)
 
 Channel (const Channel &channel)
 
Channeloperator= (const Channel &channel)
 
DirectorPlotData getPlotData ()
 
const Graphics::SurfacegetMask (bool forceMatte=false)
 
int getWidth ()
 
int getHeight ()
 
Common::Point getPosition ()
 
Common::Rect getBbox (bool unstretched=false)
 
Common::Rect getRollOverBbox ()
 
bool isStretched ()
 
bool isDirty (Sprite *nextSprite=nullptr)
 
bool isEmpty ()
 
bool isActiveText ()
 
CollisionTest isMouseIn (const Common::Point &pos)
 
bool isMatteIntersect (Channel *channel)
 
bool isMatteWithin (Channel *channel)
 
bool isActiveVideo ()
 
bool isVideoDirectToStage ()
 
void setWidth (int w)
 
void setHeight (int h)
 
void setBbox (int l, int t, int r, int b)
 
void setPosition (int x, int y, bool force=false)
 
void setCast (CastMemberID memberID)
 
void setClean (Sprite *nextSprite, bool partial=false)
 
void setStretch (bool enabled)
 
bool getEditable ()
 
void setEditable (bool editable)
 
void replaceSprite (Sprite *nextSprite)
 
void replaceWidget (CastMemberID previousCastId=CastMemberID(0, 0), bool force=false)
 
bool updateWidget ()
 
void updateTextCast ()
 
bool isTrail ()
 
void updateGlobalAttr ()
 
bool canKeepWidget (CastMemberID castId)
 
bool canKeepWidget (Sprite *currentSprite, Sprite *nextSprite)
 
int getMouseChar (int x, int y)
 
int getMouseWord (int x, int y)
 
int getMouseItem (int x, int y)
 
int getMouseLine (int x, int y)
 
void updateVideoTime ()
 
bool hasSubChannels ()
 
Common::Array< Channel > * getSubChannels ()
 
CastMemberID getSubChannelSound1 ()
 
CastMemberID getSubChannelSound2 ()
 

Public Attributes

Sprite_sprite
 
Cursor _cursor
 
Graphics::MacWidget_widget
 
bool _dirty
 
bool _visible
 
uint _constraint
 
Graphics::ManagedSurface_mask
 
int _priority
 
double _movieRate
 
int _movieTime
 
int _startTime
 
int _stopTime
 
uint _filmLoopFrame
 
Common::Rect _rollOverBbox
 
int _startFrame
 
int _endFrame
 
Common::Array< AbstractObject * > _scriptInstanceList
 

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