diff options
author | Martin Kiewitz | 2009-11-04 12:54:27 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-11-04 12:54:27 +0000 |
commit | 429c06c5ae7d9a1cd144994aaff46f87a13a1943 (patch) | |
tree | 56e19ef7ddf53f5cc2b9ba64d37711666139aedd /engines/sci/gui/gui.cpp | |
parent | 12e3375f3b47e6e626d8457257fd2036ed835ab1 (diff) | |
download | scummvm-rg350-429c06c5ae7d9a1cd144994aaff46f87a13a1943.tar.gz scummvm-rg350-429c06c5ae7d9a1cd144994aaff46f87a13a1943.tar.bz2 scummvm-rg350-429c06c5ae7d9a1cd144994aaff46f87a13a1943.zip |
SCI/newgui: kGraph / InitPriority changed to reflect sci0 implementation, also moved code
svn-id: r45661
Diffstat (limited to 'engines/sci/gui/gui.cpp')
-rw-r--r-- | engines/sci/gui/gui.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp index baca9e5005..6f7ab143e7 100644 --- a/engines/sci/gui/gui.cpp +++ b/engines/sci/gui/gui.cpp @@ -101,14 +101,6 @@ void SciGui::initPriorityBands() { } } -void SciGui::modifyPriorityBands(int top, int bottom) { - if (_usesOldGfxFunctions) { - _gfx->PriorityBandsInit(15, top, bottom); - } else { - _gfx->PriorityBandsInit(14, top, bottom); - } -} - void SciGui::wait(int16 ticks) { uint32 time; @@ -508,6 +500,14 @@ void SciGui::graphRedrawBox(Common::Rect rect) { _gfx->SetPort(oldPort); } +void SciGui::graphAdjustPriority(int top, int bottom) { + if (_usesOldGfxFunctions) { + _gfx->PriorityBandsInit(15, top, bottom); + } else { + _gfx->PriorityBandsInit(14, top, bottom); + } +} + int16 SciGui::picNotValid(int16 newPicNotValid) { int16 oldPicNotValid = _screen->_picNotValid; |