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

Public Member Functions

bool hasBeenDrawn () const
 

Protected Member Functions

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

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
 

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