Public Member Functions | |
void | init () override |
void | registerGraphics () override |
void | updateGraphics () override |
void | handleInput (NancyInput &input) |
void | drawTextbox () |
void | clear () override |
void | addTextLine (const Common::String &text, uint32 autoClearTime=0) |
void | setOverrideFont (const uint fontID) |
Public Member Functions inherited from Nancy::RenderObject | |
RenderObject (uint16 zOrder) | |
RenderObject (uint16 zOrder, Graphics::ManagedSurface &surface, const Common::Rect &srcBounds, const Common::Rect &destBounds) | |
void | moveTo (const Common::Point &position) |
void | moveTo (const Common::Rect &bounds) |
void | setVisible (bool visible) |
void | setTransparent (bool isTransparent) |
bool | isVisible () const |
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 |
Common::Rect | getScreenPosition () 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 |
Public Member Functions inherited from Nancy::Misc::HypertextParser | |
bool | hasBeenDrawn () const |
Additional Inherited Members | |
Public Attributes inherited from Nancy::RenderObject | |
Graphics::ManagedSurface | _drawSurface |
Protected Member Functions inherited from Nancy::RenderObject | |
virtual bool | isViewportRelative () 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) |
Protected Attributes inherited from Nancy::RenderObject | |
bool | _needsRedraw |
bool | _isVisible |
bool | _hasMoved |
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 |
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 |