aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/mouse.h
diff options
context:
space:
mode:
authorDenis Kasak2009-07-27 05:30:58 +0000
committerDenis Kasak2009-07-27 05:30:58 +0000
commit21a22f7f77bd876414e6155747d4a037ae0c1f23 (patch)
treed7f02e59aeeb894d178303c3c8051898273d81bd /engines/draci/mouse.h
parent019b7f310b7b0443fda505341bdfcda5c0b755f8 (diff)
downloadscummvm-rg350-21a22f7f77bd876414e6155747d4a037ae0c1f23.tar.gz
scummvm-rg350-21a22f7f77bd876414e6155747d4a037ae0c1f23.tar.bz2
scummvm-rg350-21a22f7f77bd876414e6155747d4a037ae0c1f23.zip
Added methods to Mouse for setting the state of the button.
svn-id: r42840
Diffstat (limited to 'engines/draci/mouse.h')
-rw-r--r--engines/draci/mouse.h3
1 files changed, 3 insertions, 0 deletions
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; }