ZVISION: Hide mouse cursor while streamvideo is working

This commit is contained in:
Marisa-Chan 2014-11-12 14:34:01 +06:00
parent 54917582eb
commit 6f6d5fc24e

View file

@ -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;
}