From ea40074d845486985bd3e992aa0229bb7235713c Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Fri, 28 Jun 2019 20:56:14 +0530 Subject: HDB: Add getMouseX() and getMouseY() --- engines/hdb/input.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'engines/hdb/input.h') 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 -- cgit v1.2.3