diff options
author | Filippos Karapetis | 2015-12-17 00:13:53 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:34:07 +0100 |
commit | 5aef1367e26ce056d8e54a3fc2b3734090660f56 (patch) | |
tree | 4b917f61d63af1c717d55a60f3b111be8ed6b4c9 /engines/lab/eventman.h | |
parent | 005e077551fd3d324b99a37a27a37646864b2188 (diff) | |
download | scummvm-rg350-5aef1367e26ce056d8e54a3fc2b3734090660f56.tar.gz scummvm-rg350-5aef1367e26ce056d8e54a3fc2b3734090660f56.tar.bz2 scummvm-rg350-5aef1367e26ce056d8e54a3fc2b3734090660f56.zip |
LAB: Remove useless checks, and clean up the mouse processing code
Diffstat (limited to 'engines/lab/eventman.h')
-rw-r--r-- | engines/lab/eventman.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/lab/eventman.h b/engines/lab/eventman.h index 68b441a1f2..354d4ee4f4 100644 --- a/engines/lab/eventman.h +++ b/engines/lab/eventman.h @@ -76,7 +76,6 @@ private: bool _leftClick; bool _rightClick; bool _mouseHidden; - bool _mouseAtEdge; uint16 _nextKeyIn; uint16 _nextKeyOut; @@ -92,7 +91,6 @@ private: Button *checkButtonHit(ButtonList *buttonList, Common::Point pos); bool mouseButton(uint16 *x, uint16 *y, bool leftButton); Button *mouseButton(); - void mouseHandler(int flag, Common::Point pos); bool keyPress(uint16 *keyCode); bool haveNextChar(); uint16 getNextChar(); @@ -114,7 +112,7 @@ public: void initMouse(); void mouseShow(); void mouseHide(); - void processInput(bool canDelay = false); + void processInput(); void setMousePos(Common::Point pos); void updateMouse(); Common::Point updateAndGetMousePos(); |