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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Jan 11 10:28:00 CET 2010


Revision: 47240
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47240&view=rev
Author:   thebluegr
Date:     2010-01-11 09:28:00 +0000 (Mon, 11 Jan 2010)

Log Message:
-----------
Hide the mouse cursor while a video is being played

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

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2010-01-10 23:55:15 UTC (rev 47239)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2010-01-11 09:28:00 UTC (rev 47240)
@@ -1000,6 +1000,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) {
@@ -1040,6 +1042,8 @@
 	if (playedVideo)
 		s->_gui->syncWithFramebuffer();
 
+	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