diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-28 16:14:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-28 16:14:15 +0300 |
commit | 226202ff807dc860991af0d6665ef9e9b48c1bed (patch) | |
tree | de0be738585f3ab2556865c206981d2d2842ac69 /src/gui/gui.h | |
parent | eb62e14c838788ae7691567a90bf7fe4940d5687 (diff) | |
download | manaplus-226202ff807dc860991af0d6665ef9e9b48c1bed.tar.gz manaplus-226202ff807dc860991af0d6665ef9e9b48c1bed.tar.bz2 manaplus-226202ff807dc860991af0d6665ef9e9b48c1bed.tar.xz manaplus-226202ff807dc860991af0d6665ef9e9b48c1bed.zip |
Move direct SDL_GetMouseState calls into method in gui class.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r-- | src/gui/gui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h index 7c34fc5cf..033a71282 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -164,6 +164,8 @@ class Gui final : public gcn::Gui int getLastMouseY() const { return mLastMouseY; } + uint32_t getMouseState(int *const x, int *const y) const; + protected: void handleMouseMoved(const gcn::MouseInput &mouseInput); |