summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-11 22:25:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-11 22:25:21 +0300
commit120ef46ea296729baee0c88c046008d8e18644fa (patch)
tree36ac86de113f11e60c31008ea15d286bb30d831d /src/client.cpp
parentc4d16b36a373ba5609360e2698372926d7f2dc0f (diff)
downloadManaVerse-120ef46ea296729baee0c88c046008d8e18644fa.tar.gz
ManaVerse-120ef46ea296729baee0c88c046008d8e18644fa.tar.bz2
ManaVerse-120ef46ea296729baee0c88c046008d8e18644fa.tar.xz
ManaVerse-120ef46ea296729baee0c88c046008d8e18644fa.zip
Add ability to show onscreen keyboard if input field focused.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index f02759c01..8dd2e663a 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -298,7 +298,8 @@ Client::Client(const Options &options) :
mFpsManager(),
mSkin(nullptr),
mButtonPadding(1),
- mButtonSpacing(3)
+ mButtonSpacing(3),
+ mKeyboardHeight(0)
{
mInstance = this;
@@ -2931,7 +2932,7 @@ void Client::windowRemoved(const Window *const window)
void Client::updateScreenKeyboard(int height A_UNUSED)
{
-// logger->log("keyboard height: %d", height);
+ instance()->mKeyboardHeight = height;
}
void Client::checkConfigVersion()