ScummVM API documentation
Nancy::Action::Autotext Class Reference
Inheritance diagram for Nancy::Action::Autotext:
Nancy::Action::ActionRecord Nancy::Misc::HypertextParser Nancy::Action::TextScroll

Public Member Functions

void readData (Common::SeekableReadStream &stream) override
 
void execute () override
 
- Public Member Functions inherited from Nancy::Action::ActionRecord
virtual void onPause (bool pause)
 
virtual CursorManager::CursorType getHoverCursor () const
 
virtual void handleInput (NancyInput &input)
 
- Public Member Functions inherited from Nancy::Misc::HypertextParser
bool hasBeenDrawn () const
 

Protected Member Functions

Common::String getRecordTypeName () const override
 
virtual void readExtraData (Common::SeekableReadStream &stream)
 
- Protected Member Functions inherited from Nancy::Action::ActionRecord
void finishExecution ()
 
virtual bool canHaveHotspot () const
 
- Protected Member Functions inherited from Nancy::Misc::HypertextParser
void initSurfaces (uint width, uint height, const struct Graphics::PixelFormat &format, uint32 backgroundColor, uint32 highlightBackgroundColor)
 
void addTextLine (const Common::String &text)
 
void addImage (uint16 lineID, const Common::Rect &src)
 
void setImageName (const Common::Path &name)
 
void drawAllText (const Common::Rect &textBounds, uint leftOffsetNonNewline, uint fontID, uint highlightFontID)
 
virtual void clear ()
 

Protected Attributes

uint16 _transparency = kPlayOverlayPlain
 
uint16 _surfaceID = 0
 
uint16 _fontID = 0
 
uint16 _textColor = 0
 
Common::Point _offset
 
uint16 _surfWidth = 0
 
uint16 _surfHeight = 0
 
bool _useAutotextChunk = false
 
Common::String _textKey
 
Common::String _embeddedText
 
uint16 _order = kListFIFO
 
bool _shouldDrawMarks = false
 
Common::Array< uint16 > _hotspotScenes
 
Graphics::ManagedSurface _image
 
- Protected Attributes inherited from Nancy::Misc::HypertextParser
Graphics::ManagedSurface _fullSurface
 
Graphics::ManagedSurface _textHighlightSurface
 
uint32 _backgroundColor
 
uint32 _highlightBackgroundColor
 
uint _defaultTextColor
 
int _imageVerticalOffset
 
Common::Array< Common::String_textLines
 
Common::Array< Common::Rect_hotspots
 
Common::Path _imageName
 
Common::Array< uint16 > _imageLineIDs
 
Common::Array< Common::Rect_imageSrcs
 
uint16 _numDrawnLines
 
uint16 _drawnTextHeight
 
bool _needsTextRedraw
 

Additional Inherited Members

- Public Types inherited from Nancy::Action::ActionRecord
enum  ExecutionState { kBegin, kRun, kActionTrigger }
 
enum  ExecutionType { kOneShot = 1, kRepeating = 2 }
 
- Public Attributes inherited from Nancy::Action::ActionRecord
Common::String _description
 
byte _type
 
ExecutionType _execType
 
DependencyRecord _dependencies
 
bool _isActive
 
bool _isDone
 
bool _hasHotspot
 
Common::Rect _hotspot
 
ExecutionState _state
 
int16 _days
 
DependencyRecord_cursorDependency
 

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