aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/lever_control.h
diff options
context:
space:
mode:
authorMarisa-Chan2013-11-15 18:10:27 +0000
committerMarisa-Chan2013-11-15 18:10:27 +0000
commit468c44581f4a051d435f8574fa4f689b97188ae2 (patch)
tree2afea2395221a91d887b28798efaec2aba1a3c08 /engines/zvision/lever_control.h
parent9363a0d07115368f8964dfca5f48730552ef9855 (diff)
downloadscummvm-rg350-468c44581f4a051d435f8574fa4f689b97188ae2.tar.gz
scummvm-rg350-468c44581f4a051d435f8574fa4f689b97188ae2.tar.bz2
scummvm-rg350-468c44581f4a051d435f8574fa4f689b97188ae2.zip
ZVISION: MouseUp and MouseDown now will return break process loop flag.
Diffstat (limited to 'engines/zvision/lever_control.h')
-rw-r--r--engines/zvision/lever_control.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/lever_control.h b/engines/zvision/lever_control.h
index 94d23c1f95..19ecc7b9ac 100644
--- a/engines/zvision/lever_control.h
+++ b/engines/zvision/lever_control.h
@@ -88,8 +88,8 @@ private:
uint32 _accumulatedTime;
public:
- void onMouseDown(const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos);
- void onMouseUp(const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos);
+ bool onMouseDown(const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos);
+ bool onMouseUp(const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos);
bool onMouseMove(const Common::Point &screenSpacePos, const Common::Point &backgroundImageSpacePos);
bool process(uint32 deltaTimeInMillis);