diff options
| author | Marisa-Chan | 2014-11-12 14:34:01 +0600 | 
|---|---|---|
| committer | Marisa-Chan | 2014-11-12 14:34:01 +0600 | 
| commit | 6f6d5fc24eb66b893f9871e773b9bd2632ab5ca5 (patch) | |
| tree | 277ddb94d595457825559eb76d821753320097d8 /engines/zvision/scripting | |
| parent | 54917582eb60c28c093cf84d78f5641a8ea02ea8 (diff) | |
| download | scummvm-rg350-6f6d5fc24eb66b893f9871e773b9bd2632ab5ca5.tar.gz scummvm-rg350-6f6d5fc24eb66b893f9871e773b9bd2632ab5ca5.tar.bz2 scummvm-rg350-6f6d5fc24eb66b893f9871e773b9bd2632ab5ca5.zip | |
ZVISION: Hide mouse cursor while streamvideo is working
Diffstat (limited to 'engines/zvision/scripting')
| -rw-r--r-- | engines/zvision/scripting/actions.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/engines/zvision/scripting/actions.cpp b/engines/zvision/scripting/actions.cpp index f27427caa9..eb6b09308b 100644 --- a/engines/zvision/scripting/actions.cpp +++ b/engines/zvision/scripting/actions.cpp @@ -899,6 +899,8 @@ bool ActionStreamVideo::execute() {  			return true;  		} +		_engine->getCursorManager()->showMouse(false); +  		Common::Rect destRect = Common::Rect(_x1, _y1, _x2 + 1, _y2 + 1);  		Common::String subname = _fileName; @@ -913,6 +915,8 @@ bool ActionStreamVideo::execute() {  		_engine->playVideo(decoder, destRect, _skippable, sub); +		_engine->getCursorManager()->showMouse(true); +  		if (sub)  			delete sub;  	} | 
