summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sdlinput.h')
-rw-r--r--src/gui/sdlinput.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h
index 83797c553..fb1c2e924 100644
--- a/src/gui/sdlinput.h
+++ b/src/gui/sdlinput.h
@@ -118,7 +118,7 @@ class SDLInput final
MouseInput dequeueMouseInput() A_WARN_UNUSED;
void simulateMouseClick(const int x, const int y,
- const MouseButton::Type button);
+ const MouseButtonT button);
protected:
/**
@@ -128,8 +128,7 @@ class SDLInput final
* @param button an SDL mouse button.
* @return a Guichan mouse button.
*/
- static MouseButton::Type convertMouseButton(const int button)
- A_WARN_UNUSED;
+ static MouseButtonT convertMouseButton(const int button) A_WARN_UNUSED;
/**
* Converts an SDL event key to a key value.