ScummVM API documentation
MADS::MessageDialog Class Reference
Inheritance diagram for MADS::MessageDialog:
MADS::TextDialog MADS::Dialog

Public Member Functions

 MessageDialog (MADSEngine *vm, int lines,...)
 
- Public Member Functions inherited from MADS::TextDialog
 TextDialog (MADSEngine *vm, const Common::String &fontName, const Common::Point &pos, int maxChars)
 
 TextDialog (MADSEngine *vm, const Common::String &fontName, const Common::Point &pos, MSurface *portrait, int maxTextChars)
 
 ~TextDialog () override
 
void draw () override
 
void drawWithInput ()
 
void addLine (const Common::String &line, bool underline=false)
 
void wordWrap (const Common::String &line)
 
void incNumLines ()
 
void addInput ()
 
void addBarLine ()
 
void underlineLine ()
 
void downPixelLine ()
 
void setLineXp (int xp)
 
int estimatePieces (int maxLen)
 
virtual void show ()
 

Additional Inherited Members

- Protected Member Functions inherited from MADS::TextDialog
void calculateBounds () override
 
- Protected Member Functions inherited from MADS::Dialog
virtual void save ()
 
virtual void restore ()
 
void drawContent (const Common::Rect &r, int seed, byte color1, byte color2)
 
 Dialog (MADSEngine *vm)
 
virtual ~Dialog ()
 
Common::Rect getBounds () const
 
- Protected Attributes inherited from MADS::TextDialog
Font_font
 
int _innerWidth
 
int _lineWidth
 
int _currentX
 
int _numLines
 
int _lineSize
 
int _askXp
 
int _askLineNum
 
Common::String _lines [20]
 
int _lineXp [20]
 
SpriteAsset_edgeSeries
 
MSurface_portrait
 
int _piecesPerCenter
 
int _fontSpacing
 
- Protected Attributes inherited from MADS::Dialog
MADSEngine_vm
 
MSurface_savedSurface
 
Common::Point _position
 
int _width
 
int _height
 
byte _dialogPalette [8 *3]
 
int TEXTDIALOG_CONTENT1
 
int TEXTDIALOG_CONTENT2
 
int TEXTDIALOG_EDGE
 
int TEXTDIALOG_BACKGROUND
 
int TEXTDIALOG_FC
 
int TEXTDIALOG_FD
 
int TEXTDIALOG_FE
 
int TEXTDIALOG_BLACK
 

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