diff options
author | Nicola Mettifogo | 2007-08-07 13:54:29 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-08-07 13:54:29 +0000 |
commit | 4d83622af7771d616e7722c058ef6b075a5cbf1c (patch) | |
tree | de808eb847b46905d2b5d0161e8b355f6087a44b /engines/parallaction/callables_ns.cpp | |
parent | 797f114aacbd34195d8fd58cb989ac0f5daa655d (diff) | |
download | scummvm-rg350-4d83622af7771d616e7722c058ef6b075a5cbf1c.tar.gz scummvm-rg350-4d83622af7771d616e7722c058ef6b075a5cbf1c.tar.bz2 scummvm-rg350-4d83622af7771d616e7722c058ef6b075a5cbf1c.zip |
Location comments are now displayed by a single Gfx function.
svn-id: r28481
Diffstat (limited to 'engines/parallaction/callables_ns.cpp')
-rw-r--r-- | engines/parallaction/callables_ns.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/engines/parallaction/callables_ns.cpp b/engines/parallaction/callables_ns.cpp index e603f8c7a5..20535fc388 100644 --- a/engines/parallaction/callables_ns.cpp +++ b/engines/parallaction/callables_ns.cpp @@ -338,18 +338,7 @@ void Parallaction_ns::_c_setMask(void *parm) { void Parallaction_ns::_c_endComment(void *param) { - int16 w = 0, h = 0; - _gfx->getStringExtent(_location._endComment, 130, &w, &h); - - Common::Rect r(w+5, h+5); - r.moveTo(5, 5); - _gfx->floodFill(Gfx::kBitFront, r, 0); - r.grow(-2); - _gfx->floodFill(Gfx::kBitFront, r, 1); - - _gfx->setFont(kFontDialogue); - _gfx->displayWrappedString(_location._endComment, 3, 5, 0, 130); - _gfx->updateScreen(); + _gfx->showLocationComment(_location._endComment, true); Gfx::Palette pal; _gfx->makeGrayscalePalette(pal); |