ScummVM API documentation
Director::TextCastMember Class Reference
Inheritance diagram for Director::TextCastMember:
Director::CastMember Director::Object< CastMember > Director::AbstractObject Director::RTECastMember

Public Member Functions

 TextCastMember (Cast *cast, uint16 castId, Common::SeekableReadStreamEndian &stream, uint16 version, uint8 flags1=0, bool asButton=false)
 
 TextCastMember (Cast *cast, uint16 castId, TextCastMember &source)
 
void setColors (uint32 *fgcolor, uint32 *bgcolor) override
 
Graphics::MacWidgetcreateWidget (Common::Rect &bbox, Channel *channel, SpriteType spriteType) override
 
bool isEditable () override
 
void setEditable (bool editable) override
 
void updateFromWidget (Graphics::MacWidget *widget) override
 
Graphics::TextAlign getAlignment ()
 
uint32 getBackColor () override
 
void setBackColor (uint32 bgCol) override
 
uint32 getForeColor () override
 
void setForeColor (uint32 fgCol) override
 
bool hasField (int field) override
 
Datum getField (int field) override
 
bool setField (int field, const Datum &value) override
 
bool hasChunkField (int field)
 
Datum getChunkField (int field, int start, int end)
 
bool setChunkField (int field, int start, int end, const Datum &value)
 
int getTextHeight ()
 
int getTextSize ()
 
void setTextSize (int textSize)
 
Common::String formatInfo () override
 
void load () override
 
void unload () override
 
void importStxt (const Stxt *stxt)
 
void importRTE (byte *text)
 
Common::U32String getText ()
 
Common::String getRawText ()
 
void setRawText (const Common::String &text)
 
- Public Member Functions inherited from Director::CastMember
 CastMember (Cast *cast, uint16 castId, Common::SeekableReadStreamEndian &stream)
 
 CastMember (Cast *cast, uint16 castId)
 
CastgetCast ()
 
uint16 getID ()
 
CastMemberInfogetInfo ()
 
bool isLoaded ()
 
virtual bool isModified ()
 
void setModified (bool modified)
 
virtual void updateWidget (Graphics::MacWidget *widget, Channel *channel)
 
virtual Common::Rect getInitialRect ()
 
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
 
void releaseWidget ()
 
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

SizeType _borderSize
 
SizeType _gutterSize
 
SizeType _boxShadow
 
uint16 _maxHeight
 
uint16 _textHeight
 
uint32 _fontId
 
uint16 _fontSize
 
TextType _textType
 
TextAlignType _textAlign
 
SizeType _textShadow
 
uint16 _scroll
 
byte _textSlant
 
byte _textFlags
 
uint16 _bgpalinfo1
 
uint16 _bgpalinfo2
 
uint16 _bgpalinfo3
 
uint16 _fgpalinfo1
 
uint16 _fgpalinfo2
 
uint16 _fgpalinfo3
 
ButtonType _buttonType
 
bool _editable
 
int _lineSpacing
 
Common::U32String _ftext
 
Common::U32String _ptext
 
Common::String _rtext
 
- Public Attributes inherited from Director::CastMember
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
 

Additional Inherited Members

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

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