diff options
author | Miroslav Remák | 2018-07-23 19:49:08 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-25 23:12:01 +0200 |
commit | 298bfc3d109110b8f4332083b4f9aca850f43eea (patch) | |
tree | 4f2ef34309fe9e5575103a43f77919ab1c8a700e /engines/mutationofjb/widgets | |
parent | cd15dd82a252c3bca1f96a96c4d2c5a2bf4387d9 (diff) | |
download | scummvm-rg350-298bfc3d109110b8f4332083b4f9aca850f43eea.tar.gz scummvm-rg350-298bfc3d109110b8f4332083b4f9aca850f43eea.tar.bz2 scummvm-rg350-298bfc3d109110b8f4332083b4f9aca850f43eea.zip |
MUTATIONOFJB: Subclass Graphics::Font to reuse existing code.
Diffstat (limited to 'engines/mutationofjb/widgets')
-rw-r--r-- | engines/mutationofjb/widgets/conversationwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mutationofjb/widgets/conversationwidget.cpp b/engines/mutationofjb/widgets/conversationwidget.cpp index a46b9c50f8..24bb5e1d25 100644 --- a/engines/mutationofjb/widgets/conversationwidget.cpp +++ b/engines/mutationofjb/widgets/conversationwidget.cpp @@ -69,7 +69,7 @@ void ConversationWidget::_draw(Graphics::ManagedSurface &surface) { } // TODO: Active line should be WHITE. - _gui.getGame().getAssets().getSystemFont().drawString(str, LIGHTGRAY, CONVERSATION_LINES_X, CONVERSATION_LINES_Y + i * CONVERSATION_LINE_HEIGHT, surface); + _gui.getGame().getAssets().getSystemFont().drawString(&surface, str, CONVERSATION_LINES_X, CONVERSATION_LINES_Y + i * CONVERSATION_LINE_HEIGHT, _area.width(), LIGHTGRAY); } } |