diff options
| author | uruk | 2014-02-18 14:05:03 +0100 | 
|---|---|---|
| committer | uruk | 2014-02-18 14:05:03 +0100 | 
| commit | f20d4e726d4c747d9c813d12834d35c7475e250e (patch) | |
| tree | 9c1202cf140b6544ae256d28401d073d4f59b76b /engines/avalanche/graphics.cpp | |
| parent | 589c6ffed25e818cd332e3ffb462ee13c4c8703e (diff) | |
| download | scummvm-rg350-f20d4e726d4c747d9c813d12834d35c7475e250e.tar.gz scummvm-rg350-f20d4e726d4c747d9c813d12834d35c7475e250e.tar.bz2 scummvm-rg350-f20d4e726d4c747d9c813d12834d35c7475e250e.zip | |
AVALANCHE: Introduce GraphicManager::blackOutScreen().
Diffstat (limited to 'engines/avalanche/graphics.cpp')
| -rw-r--r-- | engines/avalanche/graphics.cpp | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/engines/avalanche/graphics.cpp b/engines/avalanche/graphics.cpp index ca9409d25d..4bd6695bb8 100644 --- a/engines/avalanche/graphics.cpp +++ b/engines/avalanche/graphics.cpp @@ -478,12 +478,16 @@ void GraphicManager::drawDebugLines() {  	}  } +void GraphicManager::drawRectangle(Common::Rect rect, Color color) { +	_surface.frameRect(Common::Rect(rect.left, rect.top, rect.right + 1, rect.bottom + 1), color); +} +  void GraphicManager::drawFilledRectangle(Common::Rect rect, Color color) {  	_surface.fillRect(Common::Rect(rect.left, rect.top, rect.right + 1, rect.bottom + 1), color);  } -void GraphicManager::drawRectangle(Common::Rect rect, Color color) { -	_surface.frameRect(Common::Rect(rect.left, rect.top, rect.right + 1, rect.bottom + 1), color); +void GraphicManager::blackOutScreen() { +	_vm->_graphics->drawFilledRectangle(Common::Rect(0, 0, 639, 199), kColorBlack);  }  void GraphicManager::nimLoad() { | 
