summaryrefslogtreecommitdiff
path: root/src/input/touch
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
commit3c404128c4669a1f4f190e20a89553677717fc50 (patch)
tree2db4e5031089c800c4e00fd6244e578f44a7c910 /src/input/touch
parent89b267d6d73bbc59f7c313b8a22b97fbb27f99a8 (diff)
downloadmanaverse-3c404128c4669a1f4f190e20a89553677717fc50.tar.gz
manaverse-3c404128c4669a1f4f190e20a89553677717fc50.tar.bz2
manaverse-3c404128c4669a1f4f190e20a89553677717fc50.tar.xz
manaverse-3c404128c4669a1f4f190e20a89553677717fc50.zip
Add missing comments into defines.
Diffstat (limited to 'src/input/touch')
-rw-r--r--src/input/touch/multitouchmanager.cpp4
-rw-r--r--src/input/touch/multitouchmanager.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/input/touch/multitouchmanager.cpp b/src/input/touch/multitouchmanager.cpp
index b608b0085..b268df0e5 100644
--- a/src/input/touch/multitouchmanager.cpp
+++ b/src/input/touch/multitouchmanager.cpp
@@ -24,7 +24,7 @@
#include "render/graphics.h"
#include "gui/sdlinput.h"
-#endif
+#endif // USE_SDL2
#include "debug.h"
MultiTouchManager multiTouchManager;
@@ -85,4 +85,4 @@ void MultiTouchManager::checkDevice(const long touchId,
}
}
}
-#endif
+#endif // USE_SDL2
diff --git a/src/input/touch/multitouchmanager.h b/src/input/touch/multitouchmanager.h
index 25b56d3d8..a9323991c 100644
--- a/src/input/touch/multitouchmanager.h
+++ b/src/input/touch/multitouchmanager.h
@@ -27,7 +27,7 @@
#ifdef USE_SDL2
union SDL_Event;
-#endif
+#endif // USE_SDL2
struct MultiTouchEvent final
{
@@ -59,7 +59,7 @@ class MultiTouchManager final
void checkDevice(const long touchId,
const long fingerId);
-#endif
+#endif // USE_SDL2
private:
MultiTouchDevicesMap mEvents;