[Scummvm-cvs-logs] SF.net SVN: scummvm:[45171] scummvm/trunk/engines/sci/engine/kgraphics.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Oct 16 20:16:23 CEST 2009


Revision: 45171
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45171&view=rev
Author:   thebluegr
Date:     2009-10-16 18:16:23 +0000 (Fri, 16 Oct 2009)

Log Message:
-----------
Hide the mouse cursor when showing a video

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kgraphics.cpp

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-10-16 18:05:56 UTC (rev 45170)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-10-16 18:16:23 UTC (rev 45171)
@@ -984,6 +984,8 @@
 	if (argc == 1)
 		return NULL_REG;
 
+	s->_gui->hideCursor();
+
 	// The Windows and DOS versions use different video format as well
 	// as a different argument set.
 	if (argv[0].toUint16() == 0) {
@@ -1017,6 +1019,8 @@
 		delete seqDecoder;
 	}
 
+	s->_gui->showCursor();
+
 	return s->r_acc;
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list