summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-20 01:38:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-20 01:38:44 +0300
commitea4826bd3b81ace08b72c7e305aa0b1f89669110 (patch)
tree2c23cfaec2b8d44991b7c93adc70720782094958 /src/gui/sdlinput.h
parent81bd7930164b79a841b03e4a8a1937e5aeb3ab54 (diff)
downloadmv-ea4826bd3b81ace08b72c7e305aa0b1f89669110.tar.gz
mv-ea4826bd3b81ace08b72c7e305aa0b1f89669110.tar.bz2
mv-ea4826bd3b81ace08b72c7e305aa0b1f89669110.tar.xz
mv-ea4826bd3b81ace08b72c7e305aa0b1f89669110.zip
Improve sdlinput.
Diffstat (limited to 'src/gui/sdlinput.h')
-rw-r--r--src/gui/sdlinput.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h
index 6102de743..9e7cbccb9 100644
--- a/src/gui/sdlinput.h
+++ b/src/gui/sdlinput.h
@@ -111,9 +111,11 @@ public:
// Inherited from SDLInput
- bool isKeyQueueEmpty() const A_WARN_UNUSED;
+ bool isKeyQueueEmpty() const A_WARN_UNUSED
+ { return mKeyInputQueue.empty(); }
- bool isMouseQueueEmpty() const A_WARN_UNUSED;
+ bool isMouseQueueEmpty() const A_WARN_UNUSED
+ { return mMouseInputQueue.empty(); }
MouseInput dequeueMouseInput() A_WARN_UNUSED;