|
| PictureDialog (MADSEngine *vm, const Common::Point &pos, int maxChars, int objectId) |
|
| 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 () |
|
|
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 |
|
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 |
|
◆ save()
void MADS::Nebular::PictureDialog::save |
( |
| ) |
|
|
overrideprotectedvirtual |
Save the section of the passed surface the dialog will cover.
Reimplemented from MADS::Dialog.
◆ restore()
void MADS::Nebular::PictureDialog::restore |
( |
| ) |
|
|
overrideprotectedvirtual |
Restore saved dialog surface
Reimplemented from MADS::Dialog.
The documentation for this class was generated from the following file: