aboutsummaryrefslogtreecommitdiff
path: root/engines/lab
diff options
context:
space:
mode:
authorFilippos Karapetis2015-12-25 13:59:58 +0200
committerFilippos Karapetis2015-12-25 14:12:05 +0200
commit9239f4d7741c60173ebc372f8605afbf08233545 (patch)
tree452c1cdf15f0f1fcd7facf35223093bbb8a23b87 /engines/lab
parentc9b103b2dbed11947cebaebaf8ff93348d034b55 (diff)
downloadscummvm-rg350-9239f4d7741c60173ebc372f8605afbf08233545.tar.gz
scummvm-rg350-9239f4d7741c60173ebc372f8605afbf08233545.tar.bz2
scummvm-rg350-9239f4d7741c60173ebc372f8605afbf08233545.zip
LAB: Use the MessageClass enum in the IntuiMessage struct
Diffstat (limited to 'engines/lab')
-rw-r--r--engines/lab/eventman.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/lab/eventman.h b/engines/lab/eventman.h
index ec8f824cb2..a6b6469836 100644
--- a/engines/lab/eventman.h
+++ b/engines/lab/eventman.h
@@ -38,7 +38,7 @@ namespace Lab {
class LabEngine;
class Image;
-enum MessageClasses {
+enum MessageClass {
kMessageLeftClick,
kMessageRightClick,
kMessageButtonUp,
@@ -47,13 +47,12 @@ enum MessageClasses {
};
struct IntuiMessage {
- uint32 _msgClass;
+ MessageClass _msgClass;
uint16 _code; // KeyCode or Button Id
uint16 _qualifier;
Common::Point _mouse;
};
-
struct Button {
uint16 _x, _y, _buttonId;
Common::KeyCode _keyEquiv; // the key which activates this button