summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-10 14:29:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-10 14:29:17 +0300
commit69eed0d99caea86486206f8d45705827f7a6fe19 (patch)
tree426c59b2e6cbf7724ad4a44d00df6c59fa1e0471 /src/gui/sdlinput.h
parentad5bfca7d5df9201e5460e68ca149674bac5ac2c (diff)
downloadplus-69eed0d99caea86486206f8d45705827f7a6fe19.tar.gz
plus-69eed0d99caea86486206f8d45705827f7a6fe19.tar.bz2
plus-69eed0d99caea86486206f8d45705827f7a6fe19.tar.xz
plus-69eed0d99caea86486206f8d45705827f7a6fe19.zip
Add mouse move simulation. After char id to name mapping received, simulate mouse move.
Diffstat (limited to 'src/gui/sdlinput.h')
-rw-r--r--src/gui/sdlinput.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h
index fb1c2e924..4e46b7356 100644
--- a/src/gui/sdlinput.h
+++ b/src/gui/sdlinput.h
@@ -120,6 +120,8 @@ class SDLInput final
void simulateMouseClick(const int x, const int y,
const MouseButtonT button);
+ void simulateMouseMove();
+
protected:
/**
* Converts a mouse button from SDL to a Guichan mouse button
@@ -149,4 +151,6 @@ class SDLInput final
bool mMouseInWindow;
};
+extern SDLInput *guiInput; /**< GUI input */
+
#endif // GUI_SDLINPUT_H