ScummVM API documentation
Director::CastMember Class Reference
Inheritance diagram for Director::CastMember:
Director::Object< CastMember > Director::AbstractObject Director::BitmapCastMember Director::DigitalVideoCastMember Director::FilmLoopCastMember Director::MovieCastMember Director::PaletteCastMember Director::ScriptCastMember Director::ShapeCastMember Director::SoundCastMember Director::TextCastMember Director::TransitionCastMember

Public Member Functions

 CastMember (Cast *cast, uint16 castId, Common::SeekableReadStreamEndian &stream)
 
 CastMember (Cast *cast, uint16 castId)
 
CastgetCast ()
 
uint16 getID ()
 
CastMemberInfogetInfo ()
 
virtual void load ()
 
virtual void unload ()
 
bool isLoaded ()
 
virtual bool isEditable ()
 
virtual void setEditable (bool editable)
 
virtual bool isModified ()
 
void setModified (bool modified)
 
virtual Graphics::MacWidgetcreateWidget (Common::Rect &bbox, Channel *channel, SpriteType spriteType)
 
virtual void updateWidget (Graphics::MacWidget *widget, Channel *channel)
 
virtual void updateFromWidget (Graphics::MacWidget *widget)
 
virtual Common::Rect getInitialRect ()
 
virtual void setColors (uint32 *fgcolor, uint32 *bgcolor)
 
virtual uint32 getForeColor ()
 
virtual void setForeColor (uint32 fgCol)
 
virtual uint32 getBackColor ()
 
virtual void setBackColor (uint32 bgCol)
 
bool hasProp (const Common::String &propName) override
 
Datum getProp (const Common::String &propName) override
 
bool setProp (const Common::String &propName, const Datum &value, bool force=false) override
 
bool hasField (int field) override
 
Datum getField (int field) override
 
bool setField (int field, const Datum &value) override
 
void releaseWidget ()
 
virtual Common::String formatInfo ()
 
virtual Common::Rect getBbox ()
 
virtual Common::Rect getBbox (int16 currentWidth, int16 currentHeight)
 
virtual Common::Point getRegistrationOffset ()
 
virtual Common::Point getRegistrationOffset (int16 currentWidth, int16 currentHeight)
 
- Public Member Functions inherited from Director::Object< CastMember >
Common::String getName () const override
 
ObjectType getObjType () const override
 
bool isDisposed () const override
 
int * getRefCount () const override
 
void incRefCount () override
 
virtual void decRefCount () override
 
int getInheritanceLevel () const override
 
void setName (const Common::String &name) override
 
void dispose () override
 
Common::String asString () override
 
AbstractObjectclone () override
 
Symbol getMethod (const Common::String &methodName) override
 
bool hasProp (const Common::String &propName) override
 
Datum getProp (const Common::String &propName) override
 
Common::String getPropAt (uint32 index) override
 
uint32 getPropCount () override
 
bool setProp (const Common::String &propName, const Datum &value, bool force=false) override
 
bool hasField (int field) override
 
Datum getField (int field) override
 
bool setField (int field, const Datum &value) override
 

Public Attributes

CastType _type
 
Common::Rect _initialRect
 
Common::Rect _boundingRect
 
Common::Array< Resource_children
 
bool _hilite
 
bool _erase
 
int _purgePriority
 
uint32 _size
 
uint8 _flags1
 
- Public Attributes inherited from Director::Object< CastMember >
int * _refCount
 

Protected Attributes

Cast_cast
 
uint16 _castId
 
Graphics::MacWidget_widget
 
bool _loaded
 
bool _modified
 
bool _isChanged
 
- Protected Attributes inherited from Director::Object< CastMember >
Common::String _name
 
ObjectType _objType
 
bool _disposed
 
int _inheritanceLevel
 

Additional Inherited Members

- Static Public Member Functions inherited from Director::Object< CastMember >
static void initMethods (const MethodProto protos[])
 
static void cleanupMethods ()
 
- Protected Member Functions inherited from Director::Object< CastMember >
 Object (Common::String objName)
 
 Object (const Object &obj)
 
- Static Protected Attributes inherited from Director::Object< CastMember >
static SymbolHash_methods
 

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