[Scummvm-git-logs] scummvm master -> 1dc0411ff984d9944fbe777b003c929eb713d775

sev- sev at scummvm.org
Sun Sep 4 16:25:00 CEST 2016


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:
1dc0411ff9 TESTBED: Listen to events during mouse move test


Commit: 1dc0411ff984d9944fbe777b003c929eb713d775
    https://github.com/scummvm/scummvm/commit/1dc0411ff984d9944fbe777b003c929eb713d775
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-09-04T16:24:03+02:00

Commit Message:
TESTBED: Listen to events during mouse move test

Changed paths:
    engines/testbed/graphics.cpp



diff --git a/engines/testbed/graphics.cpp b/engines/testbed/graphics.cpp
index 4943a42..afb1c58 100644
--- a/engines/testbed/graphics.cpp
+++ b/engines/testbed/graphics.cpp
@@ -650,9 +650,12 @@ TestExitStatus GFXtests::mouseMovements() {
 	g_system->updateScreen();
 	g_system->delayMillis(1000);
 
+	Common::Event event;
+
 	for (int i = 0; i <= 100; i++) {
 		g_system->delayMillis(20);
 		g_system->warpMouse(i, i);
+		g_system->getEventManager()->pollEvent(event);
 		g_system->updateScreen();
 	}
 





More information about the Scummvm-git-logs mailing list