From 35cc3a3d19f7a4c7c9f202f749a27eb1573cfad9 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 11 May 2008 11:35:12 +0000 Subject: Committed slightly modified patch #1961830 "KYRA: Scroll wheel support for Kyra 2 and 3". svn-id: r32016 --- engines/kyra/gui_v1.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/kyra/gui_v1.h') diff --git a/engines/kyra/gui_v1.h b/engines/kyra/gui_v1.h index 5f6d438689..65ccad6eeb 100644 --- a/engines/kyra/gui_v1.h +++ b/engines/kyra/gui_v1.h @@ -44,7 +44,8 @@ namespace Kyra { button.y = h; \ button.width = i; \ button.height = j; \ - button.flags2 = k + button.flags2 = k; \ + button.mouseWheel = 0 #define GUI_V1_MENU(menu, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q) \ menu.x = a; \ @@ -93,7 +94,7 @@ public: ~GUI_v1(); void processButton(Button *button); - int processButtonList(Button *buttonList, uint16 inputFlags); + int processButtonList(Button *buttonList, uint16 inputFlags, int8 mouseWheel); int buttonMenuCallback(Button *caller); private: -- cgit v1.2.3