summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-03 18:21:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-03 18:21:45 +0300
commit37241d3f8552e1bdbd4b966fb95d7e9df1546994 (patch)
treee55aea10d923d85b8eaa4a04a78c8de4aff0f80d /src/gui/sdlinput.cpp
parent2740b416b99855e0b411b06dce2fc1eb4fa93f2c (diff)
downloadplus-37241d3f8552e1bdbd4b966fb95d7e9df1546994.tar.gz
plus-37241d3f8552e1bdbd4b966fb95d7e9df1546994.tar.bz2
plus-37241d3f8552e1bdbd4b966fb95d7e9df1546994.tar.xz
plus-37241d3f8552e1bdbd4b966fb95d7e9df1546994.zip
Remove 2 from methods name in sdlinput.
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r--src/gui/sdlinput.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp
index ffb90a883..b0ac7d613 100644
--- a/src/gui/sdlinput.cpp
+++ b/src/gui/sdlinput.cpp
@@ -103,7 +103,7 @@ bool SDLInput::isKeyQueueEmpty() const
return mKeyInputQueue.empty();
}
-KeyInput SDLInput::dequeueKeyInput2()
+KeyInput SDLInput::dequeueKeyInput()
{
if (mKeyInputQueue.empty())
return KeyInput();
@@ -132,19 +132,6 @@ MouseInput SDLInput::dequeueMouseInput()
return mouseInput;
}
-MouseInput SDLInput::dequeueMouseInput2()
-{
- MouseInput mouseInput;
-
- if (mMouseInputQueue.empty())
- return MouseInput();
-
- mouseInput = mMouseInputQueue.front();
- mMouseInputQueue.pop();
-
- return mouseInput;
-}
-
void SDLInput::pushInput(const SDL_Event &event)
{
KeyInput keyInput;