summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-09 01:53:40 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-12 18:54:58 +0300
commit363223352ee9c4c7c1d65e49cf48b38b538abaf2 (patch)
treefd43f37cdcbe02083ef66fdd54baca3f0c709f0b /src/client.cpp
parent9d66ae92ac714b4a4b21e588a3e2d481c352cd60 (diff)
downloadmv-363223352ee9c4c7c1d65e49cf48b38b538abaf2.tar.gz
mv-363223352ee9c4c7c1d65e49cf48b38b538abaf2.tar.bz2
mv-363223352ee9c4c7c1d65e49cf48b38b538abaf2.tar.xz
mv-363223352ee9c4c7c1d65e49cf48b38b538abaf2.zip
Moving Android on screen keyboard button from SDL to ManaPlus.
Also add basic functions for handling other on screen buttons.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index e71ae370b..338a474c1 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -44,6 +44,7 @@
#include "sound.h"
#include "statuseffect.h"
#include "units.h"
+#include "touchmanager.h"
#include "gui/buydialog.h"
#include "gui/buyselldialog.h"
@@ -557,6 +558,7 @@ void Client::gameInit()
mainGraphics->_beginDraw();
Theme::selectSkin();
+ touchManager.init();
// Theme::prepareThemePath();
// Initialize the item and emote shortcuts.
@@ -775,6 +777,7 @@ void Client::gameClear()
ActorSprite::unload();
+ touchManager.clear();
ResourceManager::deleteInstance();
if (logger)