[Scummvm-cvs-logs] scummvm master -> 7de231af6cd5ca6070e08a85919599ea9f9a4942

dreammaster dreammaster at scummvm.org
Sun Sep 20 23:30:15 CEST 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
7de231af6c SHERLOCK: RT: Hide cursor when showing map close-up


Commit: 7de231af6cd5ca6070e08a85919599ea9f9a4942
    https://github.com/scummvm/scummvm/commit/7de231af6cd5ca6070e08a85919599ea9f9a4942
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-09-20T17:29:43-04:00

Commit Message:
SHERLOCK: RT: Hide cursor when showing map close-up

Changed paths:
    engines/sherlock/tattoo/tattoo_map.cpp



diff --git a/engines/sherlock/tattoo/tattoo_map.cpp b/engines/sherlock/tattoo/tattoo_map.cpp
index 4bd85bd..9aa7a51 100644
--- a/engines/sherlock/tattoo/tattoo_map.cpp
+++ b/engines/sherlock/tattoo/tattoo_map.cpp
@@ -366,6 +366,7 @@ void TattooMap::showCloseUp(int closeUpNum) {
 
 	// Reset scroll position
 	screen._currentScroll = Common::Point(0, 0);
+	events.hideCursor();
 
 	// Get the closeup images
 	Common::String fname = Common::String::format("res%02d.vgs", closeUpNum + 1);
@@ -426,7 +427,9 @@ void TattooMap::showCloseUp(int closeUpNum) {
 	screen._backBuffer1.transBlitFrom(pic[0], Common::Point(r.left, r.top));
 	screen.slamRect(oldBounds);
 	screen.slamRect(r);
+
 	events.wait(60);
+	events.showCursor();
 }
 
 } // End of namespace Tattoo






More information about the Scummvm-git-logs mailing list