Add support for wheel mouse
authorMiriam Ruiz <miriam@debian.org>
Sun, 30 Nov 2008 18:43:52 +0000 (30 19:43 +0100)
committerMiriam Ruiz <miriam@debian.org>
Sun, 30 Nov 2008 18:43:52 +0000 (30 19:43 +0100)
menus.h

diff --git a/menus.h b/menus.h
index 837f08f..ce530b0 100644 (file)
--- a/menus.h
+++ b/menus.h
@@ -261,6 +261,10 @@ struct HintReview : public HintMessage
                        else\r
                                Cancel();\r
                }\r
+               else if (buttons_pressed==8)\r
+                       Move(-1);\r
+               else if (buttons_pressed==16)\r
+                       Move(1);\r
                else\r
                        Menu::Mouse(x,y,dx,dy,buttons_pressed, buttons_released, buttons);      \r
        }\r