diff options
author | Filippos Karapetis | 2015-12-24 12:08:51 +0200 |
---|---|---|
committer | Filippos Karapetis | 2015-12-24 12:08:51 +0200 |
commit | 7216bddd56d48a4e0ec1f92d9a261943eb8ea072 (patch) | |
tree | 5965fdbaeef17e7d70224551fefc40f501addc72 /engines/lab/intro.cpp | |
parent | 05973b9b41e28d0f1cc81608aad0093d9efc5c60 (diff) | |
download | scummvm-rg350-7216bddd56d48a4e0ec1f92d9a261943eb8ea072.tar.gz scummvm-rg350-7216bddd56d48a4e0ec1f92d9a261943eb8ea072.tar.bz2 scummvm-rg350-7216bddd56d48a4e0ec1f92d9a261943eb8ea072.zip |
LAB: Merge setPen() into rectFill()
Diffstat (limited to 'engines/lab/intro.cpp')
-rw-r--r-- | engines/lab/intro.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/lab/intro.cpp b/engines/lab/intro.cpp index 95f9c0277f..5ed604c238 100644 --- a/engines/lab/intro.cpp +++ b/engines/lab/intro.cpp @@ -96,8 +96,7 @@ void Intro::doPictText(const Common::String filename, bool isScreen) { _vm->_graphics->fade(false); if (isScreen) { - _vm->_graphics->setPen(7); - _vm->_graphics->rectFillScaled(10, 10, 310, 190); + _vm->_graphics->rectFillScaled(10, 10, 310, 190, 7); curText += _vm->_graphics->flowText(_font, _vm->_isHiRes ? 0 : -1, 5, 7, false, false, true, true, _vm->_utils->vgaRectScale(14, 11, 306, 189), (char *)curText); _vm->_graphics->fade(true); @@ -431,8 +430,7 @@ void Intro::play() { nReadPict("SubX"); if (_quitIntro) { - _vm->_graphics->setPen(0); - _vm->_graphics->rectFill(0, 0, _vm->_graphics->_screenWidth - 1, _vm->_graphics->_screenHeight - 1); + _vm->_graphics->rectFill(0, 0, _vm->_graphics->_screenWidth - 1, _vm->_graphics->_screenHeight - 1, 0); _vm->_anim->_doBlack = true; } } |