ZVISION: Hide mouse cursor while streamvideo is working
This commit is contained in:
parent
54917582eb
commit
6f6d5fc24e
1 changed files with 4 additions and 0 deletions
|
@ -899,6 +899,8 @@ bool ActionStreamVideo::execute() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_engine->getCursorManager()->showMouse(false);
|
||||||
|
|
||||||
Common::Rect destRect = Common::Rect(_x1, _y1, _x2 + 1, _y2 + 1);
|
Common::Rect destRect = Common::Rect(_x1, _y1, _x2 + 1, _y2 + 1);
|
||||||
|
|
||||||
Common::String subname = _fileName;
|
Common::String subname = _fileName;
|
||||||
|
@ -913,6 +915,8 @@ bool ActionStreamVideo::execute() {
|
||||||
|
|
||||||
_engine->playVideo(decoder, destRect, _skippable, sub);
|
_engine->playVideo(decoder, destRect, _skippable, sub);
|
||||||
|
|
||||||
|
_engine->getCursorManager()->showMouse(true);
|
||||||
|
|
||||||
if (sub)
|
if (sub)
|
||||||
delete sub;
|
delete sub;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue