diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-28 01:59:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-28 01:59:04 +0300 |
commit | c79403e1341ac533df1771b866d1f5cee15e12b5 (patch) | |
tree | 5bed6dfb44f7fce0432bd7a7a28d2d23db07ce80 /src/gui/sdlinput.h | |
parent | 7c79aa2b8e484319e3e511fa21db6d2448347024 (diff) | |
download | plus-c79403e1341ac533df1771b866d1f5cee15e12b5.tar.gz plus-c79403e1341ac533df1771b866d1f5cee15e12b5.tar.bz2 plus-c79403e1341ac533df1771b866d1f5cee15e12b5.tar.xz plus-c79403e1341ac533df1771b866d1f5cee15e12b5.zip |
Add const to more classes.
Diffstat (limited to 'src/gui/sdlinput.h')
-rw-r--r-- | src/gui/sdlinput.h | 4 |
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; |