From 21a22f7f77bd876414e6155747d4a037ae0c1f23 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Mon, 27 Jul 2009 05:30:58 +0000 Subject: Added methods to Mouse for setting the state of the button. svn-id: r42840 --- engines/draci/mouse.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines') diff --git a/engines/draci/mouse.h b/engines/draci/mouse.h index 918b10d75f..8135482929 100644 --- a/engines/draci/mouse.h +++ b/engines/draci/mouse.h @@ -53,6 +53,9 @@ public: CursorType getCursorType() { return _cursorType; } bool lButtonPressed() { return _lButton; } bool rButtonPressed() { return _rButton; } + void lButtonSet(bool state) { _lButton = state; } + void rButtonSet(bool state) { _rButton = state; } + uint16 getPosX() { return _x; } uint16 getPosY() { return _y; } -- cgit v1.2.3