summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-28 16:14:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-28 16:14:15 +0300
commit226202ff807dc860991af0d6665ef9e9b48c1bed (patch)
treede0be738585f3ab2556865c206981d2d2842ac69 /src/gui/gui.h
parenteb62e14c838788ae7691567a90bf7fe4940d5687 (diff)
downloadmv-226202ff807dc860991af0d6665ef9e9b48c1bed.tar.gz
mv-226202ff807dc860991af0d6665ef9e9b48c1bed.tar.bz2
mv-226202ff807dc860991af0d6665ef9e9b48c1bed.tar.xz
mv-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.h2
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);