summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-10 19:14:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-10 19:14:48 +0300
commite8f099cace1d77dd9ff12b4231871c6e122a739d (patch)
treea873108303b514b2e67191e5f04d51e3c3a53f69 /src/input
parent768a7e7499a95bb3ce14600e8050bcbbaaeed31f (diff)
downloadmanaverse-e8f099cace1d77dd9ff12b4231871c6e122a739d.tar.gz
manaverse-e8f099cace1d77dd9ff12b4231871c6e122a739d.tar.bz2
manaverse-e8f099cace1d77dd9ff12b4231871c6e122a739d.tar.xz
manaverse-e8f099cace1d77dd9ff12b4231871c6e122a739d.zip
fix code style.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/multitouchmanager.cpp4
-rw-r--r--src/input/multitouchmanager.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/input/multitouchmanager.cpp b/src/input/multitouchmanager.cpp
index 82ccb0b3c..a693e1fd9 100644
--- a/src/input/multitouchmanager.cpp
+++ b/src/input/multitouchmanager.cpp
@@ -30,8 +30,8 @@
MultiTouchManager multiTouchManager;
-
-MultiTouchManager::MultiTouchManager()
+MultiTouchManager::MultiTouchManager() :
+ mEvents()
{
}
diff --git a/src/input/multitouchmanager.h b/src/input/multitouchmanager.h
index ca4328459..34a536e50 100644
--- a/src/input/multitouchmanager.h
+++ b/src/input/multitouchmanager.h
@@ -21,12 +21,12 @@
#ifndef INPUT_MULTITOUCHMANAGER_H
#define INPUT_MULTITOUCHMANAGER_H
-#include <SDL_events.h>
-
#include <map>
#include "localconsts.h"
+union SDL_Event;
+
struct MultiTouchEvent
{
bool active;