diff options
author | Strangerke | 2015-12-17 18:46:46 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:34:07 +0100 |
commit | 25509777aa1770c07ab66729c371d28c825894ea (patch) | |
tree | 6ea05ae824ea618619bdae9630d3b2a16c0eed72 /engines/lab/special.cpp | |
parent | 054a7a1e19ffb3d5f5d298c0af3e0e33435d5ed7 (diff) | |
download | scummvm-rg350-25509777aa1770c07ab66729c371d28c825894ea.tar.gz scummvm-rg350-25509777aa1770c07ab66729c371d28c825894ea.tar.bz2 scummvm-rg350-25509777aa1770c07ab66729c371d28c825894ea.zip |
LAB: Get rid of flowTextScaled
Diffstat (limited to 'engines/lab/special.cpp')
-rw-r--r-- | engines/lab/special.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lab/special.cpp b/engines/lab/special.cpp index c8cc616d30..5ed0919e82 100644 --- a/engines/lab/special.cpp +++ b/engines/lab/special.cpp @@ -95,10 +95,10 @@ void LabEngine::doWestPaper() { paperFont = _resource->getFont("P:Note.fon"); paperText = _resource->getText("Lab:Rooms/Col1"); - charsPrinted = _graphics->flowTextScaled(paperFont, -4, 0, 0, false, false, false, true, Common::Rect(45, y, 158, 148), paperText); + charsPrinted = _graphics->flowText(paperFont, -4, 0, 0, false, false, false, true, _utils->vgaRectScale(45, y, 158, 148), paperText); delete[] paperText; paperText = _resource->getText("Lab:Rooms/Col2"); - charsPrinted = _graphics->flowTextScaled(paperFont, -4, 0, 0, false, false, false, true, Common::Rect(162, y, 275, 148), paperText); + charsPrinted = _graphics->flowText(paperFont, -4, 0, 0, false, false, false, true, _utils->vgaRectScale(162, y, 275, 148), paperText); delete[] paperText; _graphics->closeFont(paperFont); @@ -172,7 +172,7 @@ void LabEngine::drawJournalText() { while (drawingToPage < _journalPage) { _music->updateMusic(); curText = (char *)(_journalText + charsDrawn); - charsDrawn += _graphics->flowTextScaled(_journalFont, -2, 2, 0, false, false, false, false, Common::Rect(52, 32, 152, 148), curText); + charsDrawn += _graphics->flowText(_journalFont, -2, 2, 0, false, false, false, false, _utils->vgaRectScale(52, 32, 152, 148), curText); _lastPage = (*curText == 0); |