ScummVM API documentation
Pegasus::Movie Class Reference
Inheritance diagram for Pegasus::Movie:
Pegasus::Animation Pegasus::PixelImage Pegasus::DisplayElement Pegasus::DynamicElement Pegasus::Surface Pegasus::IDObject Pegasus::TimeBase Pegasus::GlowingMovie Pegasus::ScalingMovie Pegasus::SpaceJunk

Public Member Functions

 Movie (const DisplayElementID)
 
virtual void initFromMovieFile (const Common::Path &fileName, bool transparent=false)
 
bool isMovieValid ()
 
virtual void releaseMovie ()
 
void draw (const Common::Rect &) override
 
virtual void redrawMovieWorld ()
 
void setTime (const TimeValue, const TimeScale=0) override
 
void setRate (const Common::Rational) override
 
void start () override
 
void stop () override
 
void resume () override
 
void pause () override
 
virtual void moveMovieBoxTo (const CoordType, const CoordType)
 
void setStop (const TimeValue, const TimeScale=0) override
 
TimeValue getDuration (const TimeScale=0) const override
 
Video::VideoDecodergetMovie ()
 
void setVolume (uint16)
 
- 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 startDisplaying ()
 
virtual void stopDisplaying ()
 
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 setBounds (const Common::Rect &)
 
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 TimeValue getTime (const TimeScale=0)
 
virtual void setScale (const TimeScale scale)
 
virtual TimeScale getScale () const
 
virtual Common::Rational getRate () const
 
virtual bool isRunning ()
 
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 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 void setMasterTimeBase (TimeBase *timeBase)
 
void disposeAllCallBacks ()
 
virtual void checkCallBacks ()
 
- Public Member Functions inherited from Pegasus::PixelImage
void drawImage (const Common::Rect &, const Common::Rect &)
 
- Public Member Functions inherited from Pegasus::Surface
virtual void allocateSurface (const Common::Rect &)
 
virtual void deallocateSurface ()
 
virtual void shareSurface (Surface *surface)
 
bool isSurfaceValid () const
 
Graphics::SurfacegetSurface () const
 
void getSurfaceBounds (Common::Rect &r)
 
void copyToCurrentPort () const
 
void copyToCurrentPortTransparent () const
 
void copyToCurrentPort (const Common::Rect &) const
 
void copyToCurrentPortTransparent (const Common::Rect &) const
 
void copyToCurrentPort (const Common::Rect &, const Common::Rect &) const
 
void copyToCurrentPortTransparent (const Common::Rect &, const Common::Rect &) const
 
void copyToCurrentPortMasked (const Common::Rect &, const Common::Rect &, const Surface *) const
 
void copyToCurrentPortTransparentGlow (const Common::Rect &, const Common::Rect &) const
 
void scaleTransparentCopy (const Common::Rect &, const Common::Rect &) const
 
void scaleTransparentCopyGlow (const Common::Rect &, const Common::Rect &) const
 
virtual void getImageFromPICTFile (const Common::Path &fileName)
 
virtual void getImageFromPICTResource (Common::MacResManager *resFork, uint16 id)
 
virtual void getImageFromMovieFrame (Video::VideoDecoder *, TimeValue)
 

Protected Member Functions

void updateTime () override
 
- Protected Member Functions inherited from Pegasus::TimeBase
void addCallBack (TimeBaseCallBack *)
 
void removeCallBack (TimeBaseCallBack *)
 
- Protected Member Functions inherited from Pegasus::PixelImage
virtual void setTransparent (bool transparent)
 

Protected Attributes

Video::QuickTimeDecoder_video
 
Common::Rect _movieBox
 
- 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::PixelImage
bool _transparent
 
- Protected Attributes inherited from Pegasus::Surface
bool _ownsSurface
 
Graphics::Surface_surface
 
Common::Rect _bounds
 

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