aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/intro.cpp
diff options
context:
space:
mode:
authorStrangerke2015-12-17 18:35:53 +0100
committerWillem Jan Palenstijn2015-12-23 21:34:07 +0100
commit054a7a1e19ffb3d5f5d298c0af3e0e33435d5ed7 (patch)
tree5fb642f27baaf9d7ebbea1b5cd1900f9034edab7 /engines/lab/intro.cpp
parent605c2e553bd9b8421af643491a7855d8c2cd4710 (diff)
downloadscummvm-rg350-054a7a1e19ffb3d5f5d298c0af3e0e33435d5ed7.tar.gz
scummvm-rg350-054a7a1e19ffb3d5f5d298c0af3e0e33435d5ed7.tar.bz2
scummvm-rg350-054a7a1e19ffb3d5f5d298c0af3e0e33435d5ed7.zip
LAB: Use Common::Rect in functions related to flowText (WIP)
Diffstat (limited to 'engines/lab/intro.cpp')
-rw-r--r--engines/lab/intro.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/intro.cpp b/engines/lab/intro.cpp
index e26f1821da..b2fa0b0786 100644
--- a/engines/lab/intro.cpp
+++ b/engines/lab/intro.cpp
@@ -103,7 +103,7 @@ void Intro::doPictText(const char *filename, TextFont *msgFont, bool isScreen) {
_vm->_graphics->setPen(7);
_vm->_graphics->rectFillScaled(10, 10, 310, 190);
- charDrawn = _vm->_graphics->flowTextScaled(msgFont, (!_vm->_isHiRes) * -1, 5, 7, false, false, true, true, 14, 11, 306, 189, (char *)curText);
+ charDrawn = _vm->_graphics->flowTextScaled(msgFont, (!_vm->_isHiRes) * -1, 5, 7, false, false, true, true, Common::Rect(14, 11, 306, 189), (char *)curText);
_vm->_graphics->fade(true, 0);
} else
charDrawn = _vm->_graphics->longDrawMessage((char *)curText);