aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/m4_views.h
diff options
context:
space:
mode:
authorPaul Gilbert2009-12-20 07:09:40 +0000
committerPaul Gilbert2009-12-20 07:09:40 +0000
commitb729218bb6f48a7e57cd938f76ca0065983b792e (patch)
treef939869ed15565eabab224fb831493e34169bd89 /engines/m4/m4_views.h
parent3da285432b0debb46e2f544b06a442cce47c256f (diff)
downloadscummvm-rg350-b729218bb6f48a7e57cd938f76ca0065983b792e.tar.gz
scummvm-rg350-b729218bb6f48a7e57cd938f76ca0065983b792e.tar.bz2
scummvm-rg350-b729218bb6f48a7e57cd938f76ca0065983b792e.zip
Changed the M4 event handler to encode the keyboard flags into KEVENT_KEY events
svn-id: r46424
Diffstat (limited to 'engines/m4/m4_views.h')
-rw-r--r--engines/m4/m4_views.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/m4_views.h b/engines/m4/m4_views.h
index ac1a2537ca..577d00b0ec 100644
--- a/engines/m4/m4_views.h
+++ b/engines/m4/m4_views.h
@@ -64,7 +64,7 @@ public:
int horizCells, int vertCells, int cellWidth, int cellHeight, int tag);
void onRefresh();
- bool onEvent(M4EventType eventType, int param, int x, int y, GUIObject *&currentItem);
+ bool onEvent(M4EventType eventType, int32 param, int x, int y, GUIObject *&currentItem);
void add(const char *name, const char *verb, M4Surface *icon, int iconIndex);
bool remove(const char *name);
@@ -104,7 +104,7 @@ public:
~GameInterfaceView();
void onRefresh(RectList *rects, M4Surface *destSurface);
- bool onEvent(M4EventType eventType, int param, int x, int y, bool &captureEvents);
+ bool onEvent(M4EventType eventType, int32 param, int x, int y, bool &captureEvents);
void setStatusText(const char *text) { _statusText.setText(text); }
void cancelSentence() { setStatusText(NULL); }
void inventoryAdd(const char *name, const char *verb, int iconIndex) {