aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/widgets
diff options
context:
space:
mode:
authorMiroslav Remák2018-07-23 19:49:08 +0200
committerEugene Sandulenko2018-08-25 23:12:01 +0200
commit298bfc3d109110b8f4332083b4f9aca850f43eea (patch)
tree4f2ef34309fe9e5575103a43f77919ab1c8a700e /engines/mutationofjb/widgets
parentcd15dd82a252c3bca1f96a96c4d2c5a2bf4387d9 (diff)
downloadscummvm-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.cpp2
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);
}
}