diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-01-31 20:59:54 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-01-31 20:59:54 +0800 |
commit | 261bfb611a92c5dec13f65fb225a127a66a1b43b (patch) | |
tree | e8631a93cc0933a7594327274a1ed47f1de0f4f9 /include | |
parent | 841465ea45e56bf2f294b5cb934e5ff955c72401 (diff) | |
download | SMELT-261bfb611a92c5dec13f65fb225a127a66a1b43b.tar.xz |
Add mouse grabbing.
Diffstat (limited to 'include')
-rw-r--r-- | include/smelt.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/smelt.hpp b/include/smelt.hpp index bba4ff5..90ffc22 100644 --- a/include/smelt.hpp +++ b/include/smelt.hpp @@ -340,6 +340,7 @@ public: virtual void smGetMouse2f(float *x,float *y)=0; virtual void smSetMouse2f(float x,float y)=0; + virtual void smSetMouseGrab(bool enabled)=0; virtual int smGetWheel()=0; virtual bool smIsMouseOver()=0; virtual int smGetKeyState(int key)=0; |