[Scummvm-cvs-logs] SF.net SVN: scummvm: [26654] scummvm/trunk/backends/platform/wince/CEgui/ ItemAction.cpp

knakos at users.sourceforge.net knakos at users.sourceforge.net
Sat Apr 28 19:24:55 CEST 2007


Revision: 26654
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26654&view=rev
Author:   knakos
Date:     2007-04-28 10:24:54 -0700 (Sat, 28 Apr 2007)

Log Message:
-----------
insert key up events for synthetic events

Modified Paths:
--------------
    scummvm/trunk/backends/platform/wince/CEgui/ItemAction.cpp

Modified: scummvm/trunk/backends/platform/wince/CEgui/ItemAction.cpp
===================================================================
--- scummvm/trunk/backends/platform/wince/CEgui/ItemAction.cpp	2007-04-28 14:39:28 UTC (rev 26653)
+++ scummvm/trunk/backends/platform/wince/CEgui/ItemAction.cpp	2007-04-28 17:24:54 UTC (rev 26654)
@@ -1,5 +1,5 @@
 /* ScummVM - Scumm Interpreter
- * Copyright (C) 2001-2006 The ScummVM project
+ * Copyright (C) 2001-2007 The ScummVM project
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -39,7 +39,8 @@
 	bool ItemAction::action(int x, int y, bool pushed) {
 
 		if (checkInside(x, y) && _visible && pushed) {
-			GUI::Actions::Instance()->perform(_action);
+			GUI::Actions::Instance()->perform(_action, true);
+			GUI::Actions::Instance()->perform(_action, false);
 			return true;
 		}
 		else


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