ScummVM API documentation
Pegasus::SpriteSequence Class Reference
Inheritance diagram for Pegasus::SpriteSequence:
Pegasus::FrameSequence Pegasus::IdlerAnimation Pegasus::Animation Pegasus::Idler Pegasus::DisplayElement Pegasus::DynamicElement Pegasus::IDObject Pegasus::TimeBase

Public Member Functions

 SpriteSequence (const DisplayElementID id, const DisplayElementID spriteID)
 
void useTransparent (bool transparent)
 
void openFrameSequence () override
 
void closeFrameSequence () override
 
void draw (const Common::Rect &) override
 
void setBounds (const Common::Rect &) override
 
- Public Member Functions inherited from Pegasus::FrameSequence
 FrameSequence (const DisplayElementID)
 
void useFileName (const Common::Path &fileName)
 
bool isSequenceOpen () const
 
uint16 getNumFrames () const
 
virtual uint16 getFrameNum () const
 
virtual void setFrameNum (const int16)
 
- Public Member Functions inherited from Pegasus::IdlerAnimation
 IdlerAnimation (const DisplayElementID)
 
void startDisplaying () override
 
void stopDisplaying () override
 
TimeValue getLastTime () const
 
- Public Member Functions inherited from Pegasus::Animation
 Animation (const DisplayElementID id)
 
- 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 show ()
 
virtual void hide ()
 
bool isVisible ()
 
void triggerRedraw ()
 
void setTriggeredElement (DisplayElement *)
 
virtual void setBounds (const CoordType, const CoordType, const CoordType, const CoordType)
 
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
 
- Public Member Functions inherited from Pegasus::DynamicElement
TimeValue percentSeconds (const uint32 percent)
 
- Public Member Functions inherited from Pegasus::TimeBase
 TimeBase (const TimeScale=kDefaultTimeScale)
 
virtual void setTime (const TimeValue, const TimeScale=0)
 
virtual TimeValue getTime (const TimeScale=0)
 
virtual void setScale (const TimeScale scale)
 
virtual TimeScale getScale () const
 
virtual void setRate (const Common::Rational)
 
virtual Common::Rational getRate () const
 
virtual void start ()
 
virtual void stop ()
 
virtual bool isRunning ()
 
virtual void pause ()
 
virtual void resume ()
 
bool isPaused () const
 
virtual void setFlags (const uint32 flags)
 
virtual uint32 getFlags () const
 
virtual void setStart (const TimeValue, const TimeScale=0)
 
virtual TimeValue getStart (const TimeScale=0) const
 
virtual void setStop (const TimeValue, const TimeScale=0)
 
virtual TimeValue getStop (const TimeScale=0) const
 
virtual void setSegment (const TimeValue, const TimeValue, const TimeScale=0)
 
virtual void getSegment (TimeValue &, TimeValue &, const TimeScale=0) const
 
virtual TimeValue getDuration (const TimeScale=0) const
 
virtual void setMasterTimeBase (TimeBase *timeBase)
 
void disposeAllCallBacks ()
 
virtual void checkCallBacks ()
 
- Public Member Functions inherited from Pegasus::Idler
virtual void startIdling ()
 
virtual void stopIdling ()
 
bool isIdling () const
 

Protected Member Functions

void newFrame (const uint16) override
 
- Protected Member Functions inherited from Pegasus::FrameSequence
void timeChanged (const TimeValue) override
 
- Protected Member Functions inherited from Pegasus::IdlerAnimation
void useIdleTime () override
 
- Protected Member Functions inherited from Pegasus::TimeBase
void addCallBack (TimeBaseCallBack *)
 
void removeCallBack (TimeBaseCallBack *)
 
virtual void updateTime ()
 

Protected Attributes

bool _transparent
 
Sprite _sprite
 
- Protected Attributes inherited from Pegasus::FrameSequence
Common::MacResManager_resFork
 
TimeValue _duration
 
uint16 _numFrames
 
Common::Array< TimeValue > _frameTimes
 
uint16 _currentFrameNum
 
- Protected Attributes inherited from Pegasus::IdlerAnimation
TimeValue _lastTime
 
- Protected Attributes inherited from Pegasus::DisplayElement
Common::Rect _bounds
 
bool _elementIsVisible
 
DisplayElement_triggeredElement
 
bool _elementIsDisplaying
 
DisplayOrder _elementOrder
 
DisplayElement_nextElement
 
- Protected Attributes inherited from Pegasus::TimeBase
TimeBase_master
 
TimeScale _preferredScale
 
TimeBaseCallBack_callBackList
 
Common::Rational _rate
 
Common::Rational _pausedRate
 
bool _paused
 
uint32 _startTime
 
uint32 _startScale
 
uint32 _stopTime
 
uint32 _stopScale
 
uint32 _flags
 
Common::Rational _time
 
uint32 _lastMillis
 
uint32 _pauseStart
 
- Protected Attributes inherited from Pegasus::Idler
bool _isIdling
 
Idler_nextIdler
 
Idler_prevIdler
 

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