aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/input.h')
-rw-r--r--engines/parallaction/input.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/parallaction/input.h b/engines/parallaction/input.h
index e7d20c0d2e..e26f4d71fd 100644
--- a/engines/parallaction/input.h
+++ b/engines/parallaction/input.h
@@ -98,10 +98,16 @@ public:
Input(Parallaction *vm);
virtual ~Input();
- void getCursorPos(Common::Point& p) {
+ void getAbsoluteCursorPos(Common::Point& p) const;
+
+ void getCursorPos(Common::Point& p) const {
p = _mousePos;
}
+ void setCursorPos(const Common::Point& p) {
+ _mousePos = p;
+ }
+
int _inputMode;
InventoryItem _activeItem;