ScummVM API documentation
Mohawk::LBAnimationItem Class Reference
Inheritance diagram for Mohawk::LBAnimationItem:
Mohawk::LBItem

Public Member Functions

 LBAnimationItem (MohawkEngine_LivingBooks *_vm, LBPage *page, Common::Rect rect)
 
void setEnabled (bool enabled) override
 
bool contains (Common::Point point) override
 
void update () override
 
void draw () override
 
bool togglePlaying (bool playing, bool restart) override
 
void done (bool onlyNotify) override
 
void init () override
 
void seek (uint16 pos) override
 
void seekToTime (uint32 time) override
 
void startPhase (uint phase) override
 
void stop () override
 
- Public Member Functions inherited from Mohawk::LBItem
 LBItem (MohawkEngine_LivingBooks *vm, LBPage *page, Common::Rect rect)
 
void readFrom (Common::SeekableReadStreamEndian *stream)
 
void readData (uint16 type, uint16 size, byte *data)
 
virtual void readData (uint16 type, uint16 size, Common::MemoryReadStreamEndian *stream)
 
virtual void destroySelf ()
 
virtual void setGlobalEnabled (bool enabled)
 
virtual void handleKeyChar (Common::Point pos)
 
virtual void handleMouseDown (Common::Point pos)
 
virtual void handleMouseMove (Common::Point pos)
 
virtual void handleMouseUp (Common::Point pos)
 
virtual void setFocused (bool focused)
 
virtual void setVisible (bool visible)
 
virtual void setGlobalVisible (bool enabled)
 
virtual void notify (uint16 data, uint16 from)
 
virtual void load ()
 
virtual void unload ()
 
virtual void moveBy (const Common::Point &pos)
 
virtual void moveTo (const Common::Point &pos)
 
LBItemclone (uint16 newId, const Common::String &newName)
 
uint16 getId ()
 
const Common::StringgetName ()
 
const Common::RectgetRect ()
 
uint16 getSoundPriority ()
 
bool isLoaded ()
 
bool isAmbient ()
 

Protected Member Functions

LBItemcreateClone () override
 
- Protected Member Functions inherited from Mohawk::LBItem
void setNextTime (uint16 min, uint16 max)
 
void setNextTime (uint16 min, uint16 max, uint32 start)
 
void runScript (uint event, uint16 data=0, uint16 from=0)
 
int runScriptEntry (LBScriptEntry *entry)
 
void runCommand (const Common::String &command)
 
bool checkCondition (const Common::String &condition)
 
LBScriptEntryparseScriptEntry (uint16 type, uint16 &size, Common::MemoryReadStreamEndian *stream, bool isSubentry=false)
 

Protected Attributes

LBAnimation_anim
 
bool _running
 
- Protected Attributes inherited from Mohawk::LBItem
MohawkEngine_LivingBooks_vm
 
LBPage_page
 
Common::Rect _rect
 
Common::String _desc
 
uint16 _resourceId
 
uint16 _itemId
 
bool _loaded
 
bool _visible
 
bool _globalVisible
 
bool _playing
 
bool _enabled
 
bool _globalEnabled
 
uint32 _nextTime
 
uint32 _startTime
 
uint16 _loops
 
uint16 _phase
 
uint16 _timingMode
 
uint16 _delayMin
 
uint16 _delayMax
 
uint16 _loopMode
 
uint16 _periodMin
 
uint16 _periodMax
 
uint16 _controlMode
 
uint16 _soundMode
 
Common::Point _relocPoint
 
bool _isAmbient
 
bool _doHitTest
 
Common::Array< LBScriptEntry * > _scriptEntries
 

Additional Inherited Members

- Public Attributes inherited from Mohawk::LBItem
Common::List< LBItem * >::iterator _iterator
 
Common::HashMap< Common::String, LBValue, Common::IgnoreCase_Hash, Common::IgnoreCase_EqualTo_variables
 

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