ScummVM API documentation
Nancy::UI::ConversationPopup Class Reference
Inheritance diagram for Nancy::UI::ConversationPopup:
Nancy::RenderObject Nancy::Misc::HypertextParser

Public Member Functions

void init () override
 
void registerGraphics () override
 
void handleInput (NancyInput &input)
 
void open ()
 
void addTextLine (const Common::String &text)
 
void close ()
 
void setResponseStart ()
 
- Public Member Functions inherited from Nancy::RenderObject
 RenderObject (uint16 zOrder)
 
 RenderObject (uint16 zOrder, Graphics::ManagedSurface &surface, const Common::Rect &srcBounds, const Common::Rect &destBounds)
 
 RenderObject (RenderObject &&)=default
 
virtual void updateGraphics ()
 
void moveTo (const Common::Point &position)
 
void moveTo (const Common::Rect &bounds)
 
void setVisible (bool visible)
 
void setTransparent (bool isTransparent)
 
bool isVisible () const
 
bool needsRedraw () const
 
void setNeedsRedraw (bool needsRedraw)
 
void setHasMoved (bool hasMoved)
 
bool isNativeResolution () const
 
void setNativeResolution (bool isNative)
 
void grabPalette (byte *colors, uint paletteStart=0, uint paletteSize=256)
 
void setPalette (const Common::Path &paletteName, uint paletteStart=0, uint paletteSize=256)
 
void setPalette (const byte *colors, uint paletteStart=0, uint paletteSize=256)
 
bool hasMoved () const
 
void updatePreviousScreenPosition ()
 
Common::Rect getScreenPosition () const
 
Common::Rect getScreenPositionRaw () const
 
Common::Rect getPreviousScreenPosition () const
 
Common::Rect convertToLocal (const Common::Rect &screen) const
 
Common::Rect convertToScreen (const Common::Rect &rect) const
 
Common::Rect getBounds () const
 
uint16 getZOrder () const
 
void setZOrder (uint16 z)
 
virtual bool isViewportRelative () const
 
- Public Member Functions inherited from Nancy::Misc::HypertextParser
bool hasBeenDrawn () const
 

Additional Inherited Members

- Public Attributes inherited from Nancy::RenderObject
Graphics::ManagedSurface _drawSurface
 
- Protected Types inherited from Nancy::Misc::HypertextParser
enum  Justification { kJustifyLeft, kJustifyRight, kJustifyCenter }
 
- 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 ()
 
void drawInlineImage (const InlineImage &inlineImage, const Common::Rect &textBounds, uint horizontalOffset, uint justification, const Font *font)
 
void setDefaultTextRGB (byte r, byte g, byte b)
 
- Protected Attributes inherited from Nancy::RenderObject
bool _needsRedraw
 
bool _isVisible
 
bool _hasMoved
 
bool _isNativeResolution = false
 
uint16 _z
 
Common::Rect _previousScreenPosition
 
Common::Rect _screenPosition
 
- Protected Attributes inherited from Nancy::Misc::HypertextParser
Graphics::ManagedSurface _fullSurface
 
Graphics::ManagedSurface _textHighlightSurface
 
uint32 _backgroundColor
 
uint32 _highlightBackgroundColor
 
uint _defaultTextColor
 
uint _defaultJustification = kJustifyLeft
 
FontColorState _fontColorState = kFontColorNormal
 
int _imageVerticalOffset
 
Common::Array< Common::String > _textLines
 
Common::Array< Common::Rect > _hotspots
 
bool _recordMarkHotspots = false
 
Common::Array< Common::Rect > _markHotspots
 
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: