diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-09 01:53:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-12 18:54:58 +0300 |
commit | 363223352ee9c4c7c1d65e49cf48b38b538abaf2 (patch) | |
tree | fd43f37cdcbe02083ef66fdd54baca3f0c709f0b /src/client.cpp | |
parent | 9d66ae92ac714b4a4b21e588a3e2d481c352cd60 (diff) | |
download | mv-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.cpp | 3 |
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) |