aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_card.h
diff options
context:
space:
mode:
authorBastien Bouclet2017-01-28 14:05:26 +0100
committerEugene Sandulenko2017-07-03 08:50:10 +0200
commit286cdef658dbd18a6bb3b71fdfa9b133efb6a8e4 (patch)
treea78d0eff08a2414a19a0d6f1b1d74305e79c59e6 /engines/mohawk/riven_card.h
parent92e03a7b684c019d7670a56feb8e3a6cfd2e85b2 (diff)
downloadscummvm-rg350-286cdef658dbd18a6bb3b71fdfa9b133efb6a8e4.tar.gz
scummvm-rg350-286cdef658dbd18a6bb3b71fdfa9b133efb6a8e4.tar.bz2
scummvm-rg350-286cdef658dbd18a6bb3b71fdfa9b133efb6a8e4.zip
MOHAWK: Add basic mouse handling to RivenStack
Diffstat (limited to 'engines/mohawk/riven_card.h')
-rw-r--r--engines/mohawk/riven_card.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mohawk/riven_card.h b/engines/mohawk/riven_card.h
index b02f5f7753..73c47b66aa 100644
--- a/engines/mohawk/riven_card.h
+++ b/engines/mohawk/riven_card.h
@@ -110,13 +110,13 @@ public:
void activateWaterEffect(uint16 index);
/** Handle a mouse down event */
- void onMouseDown(const Common::Point &mouse);
+ RivenScriptPtr onMouseDown(const Common::Point &mouse);
/** Handle a mouse up event */
- void onMouseUp(const Common::Point &mouse);
+ RivenScriptPtr onMouseUp(const Common::Point &mouse);
/** Handle a mouse move event */
- void onMouseMove(const Common::Point &mouse);
+ RivenScriptPtr onMouseMove(const Common::Point &mouse);
/** Frame update handler for the mouse cursor */
void onMouseUpdate();