From 363223352ee9c4c7c1d65e49cf48b38b538abaf2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Nov 2012 01:53:40 +0300 Subject: Moving Android on screen keyboard button from SDL to ManaPlus. Also add basic functions for handling other on screen buttons. --- src/client.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client.cpp') 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) -- cgit v1.2.3-60-g2f50