r4247 - in packages/trunk/hex-a-hop/debian: . patches

Jens Seidel jseidel-guest at alioth.debian.org
Wed Sep 19 20:46:36 UTC 2007


Author: jseidel-guest
Date: 2007-09-19 20:46:36 +0000 (Wed, 19 Sep 2007)
New Revision: 4247

Added:
   packages/trunk/hex-a-hop/debian/patches/mouse-wheel-support.patch
Modified:
   packages/trunk/hex-a-hop/debian/changelog
   packages/trunk/hex-a-hop/debian/patches/series
Log:
Added support for wheel mouse in help dialog. Thanks again
Piotr. Closes: #443194


Modified: packages/trunk/hex-a-hop/debian/changelog
===================================================================
--- packages/trunk/hex-a-hop/debian/changelog	2007-09-19 20:43:02 UTC (rev 4246)
+++ packages/trunk/hex-a-hop/debian/changelog	2007-09-19 20:46:36 UTC (rev 4247)
@@ -9,7 +9,9 @@
   * Added hints.html which gives tips how to solve some levels.
   * Fix compilation error on the Hurd where PATH_MAX is not defined.
   * A string was not translateable. Thanks to Piotr Engelking
-    <inkerman42 at gmail.com> for the patch. Closes: 443193
+    <inkerman42 at gmail.com> for the patch. Closes: #443193
+  * Added support for wheel mouse in help dialog. Thanks again
+    Piotr. Closes: #443194
   * Fixed a build error on m68k because of a wrong alignment test.
     Closes: #442854
 

Added: packages/trunk/hex-a-hop/debian/patches/mouse-wheel-support.patch
===================================================================
--- packages/trunk/hex-a-hop/debian/patches/mouse-wheel-support.patch	                        (rev 0)
+++ packages/trunk/hex-a-hop/debian/patches/mouse-wheel-support.patch	2007-09-19 20:46:36 UTC (rev 4247)
@@ -0,0 +1,15 @@
+Index: hex-a-hop.svn/menus.h
+===================================================================
+--- hex-a-hop.svn.orig/menus.h
++++ hex-a-hop.svn/menus.h
+@@ -303,6 +303,10 @@
+ 			else
+ 				Cancel();
+ 		}
++		else if (buttons_pressed==8)
++			Move(-1);
++		else if (buttons_pressed==16)
++			Move(1);
+ 		else
+ 			Menu::Mouse(x,y,dx,dy,buttons_pressed, buttons_released, buttons);	
+ 	}

Modified: packages/trunk/hex-a-hop/debian/patches/series
===================================================================
--- packages/trunk/hex-a-hop/debian/patches/series	2007-09-19 20:43:02 UTC (rev 4246)
+++ packages/trunk/hex-a-hop/debian/patches/series	2007-09-19 20:46:36 UTC (rev 4247)
@@ -12,3 +12,4 @@
 mouse_cursor_without_font.patch
 misc_errors.patch
 reduce_cpu_usage.patch
+mouse-wheel-support.patch




More information about the Pkg-games-commits mailing list