aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui_v1.h
diff options
context:
space:
mode:
authorJohannes Schickel2008-05-11 11:35:12 +0000
committerJohannes Schickel2008-05-11 11:35:12 +0000
commit35cc3a3d19f7a4c7c9f202f749a27eb1573cfad9 (patch)
treea67a44d595e4aa4e903e30c07942e9a5f8de72c8 /engines/kyra/gui_v1.h
parent7da27cf28cb48fce13ebff907743f78dd6e75bc0 (diff)
downloadscummvm-rg350-35cc3a3d19f7a4c7c9f202f749a27eb1573cfad9.tar.gz
scummvm-rg350-35cc3a3d19f7a4c7c9f202f749a27eb1573cfad9.tar.bz2
scummvm-rg350-35cc3a3d19f7a4c7c9f202f749a27eb1573cfad9.zip
Committed slightly modified patch #1961830 "KYRA: Scroll wheel support for Kyra 2 and 3".
svn-id: r32016
Diffstat (limited to 'engines/kyra/gui_v1.h')
-rw-r--r--engines/kyra/gui_v1.h5
1 files changed, 3 insertions, 2 deletions
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: