ScummVM API documentation
Pegasus::Picture Class Reference
Inheritance diagram for Pegasus::Picture:
Pegasus::DisplayElement Pegasus::Frame Pegasus::IDObject Pegasus::PixelImage Pegasus::Surface Pegasus::BombGrid Pegasus::InventoryPicture Pegasus::BiochipPicture Pegasus::InventoryItemsPicture

Public Member Functions

 Picture (const DisplayElementID id)
 
void initFromPICTFile (const Common::Path &fileName, bool transparent=false) override
 
void initFromPICTResource (Common::MacResManager *resFork, uint16 id, bool transparent=false) override
 
void initFromMovieFrame (Video::VideoDecoder *, TimeValue, bool transparent=false) override
 
void draw (const Common::Rect &) override
 
- 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::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)
 

Additional Inherited Members

- Protected Member Functions inherited from Pegasus::PixelImage
virtual void setTransparent (bool transparent)
 
- Protected Attributes inherited from Pegasus::DisplayElement
Common::Rect _bounds
 
bool _elementIsVisible
 
DisplayElement_triggeredElement
 
bool _elementIsDisplaying
 
DisplayOrder _elementOrder
 
DisplayElement_nextElement
 
- 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: