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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h
index b6b41fe5c..db082ef2a 100644
--- a/src/gui/sdlinput.h
+++ b/src/gui/sdlinput.h
@@ -173,7 +173,7 @@ protected:
* @param button an SDL mouse button.
* @return a Guichan mouse button.
*/
- int convertMouseButton(int button);
+ static int convertMouseButton(const int button);
/**
* Converts an SDL event key to a key value.
@@ -182,7 +182,7 @@ protected:
* @return a key value.
* @see Key
*/
- int convertKeyCharacter(SDL_Event event);
+ static int convertKeyCharacter(SDL_Event event);
std::queue<KeyInput> mKeyInputQueue;
std::queue<gcn::MouseInput> mMouseInputQueue;