aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-06-28 20:56:14 +0530
committerEugene Sandulenko2019-09-03 17:17:03 +0200
commitea40074d845486985bd3e992aa0229bb7235713c (patch)
tree80019a0cce8475712814c790234d3dd34cb77f25 /engines
parent40b23d122d699b9f3bf683ac76bd850af4bf024e (diff)
downloadscummvm-rg350-ea40074d845486985bd3e992aa0229bb7235713c.tar.gz
scummvm-rg350-ea40074d845486985bd3e992aa0229bb7235713c.tar.bz2
scummvm-rg350-ea40074d845486985bd3e992aa0229bb7235713c.zip
HDB: Add getMouseX() and getMouseY()
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/input.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/hdb/input.h b/engines/hdb/input.h
index 57e145b518..0b6a3db2b4 100644
--- a/engines/hdb/input.h
+++ b/engines/hdb/input.h
@@ -53,6 +53,13 @@ public:
void stylusUp(int x, int y);
void stylusMove(int x, int y);
+ int getMouseX() {
+ return _mouseX;
+ }
+ int getMouseY() {
+ return _mouseY;
+ }
+
private:
uint16 _buttons; // Flags for buttons