diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-11 22:25:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-11 22:25:21 +0300 |
commit | 120ef46ea296729baee0c88c046008d8e18644fa (patch) | |
tree | 36ac86de113f11e60c31008ea15d286bb30d831d /src/client.h | |
parent | c4d16b36a373ba5609360e2698372926d7f2dc0f (diff) | |
download | mv-120ef46ea296729baee0c88c046008d8e18644fa.tar.gz mv-120ef46ea296729baee0c88c046008d8e18644fa.tar.bz2 mv-120ef46ea296729baee0c88c046008d8e18644fa.tar.xz mv-120ef46ea296729baee0c88c046008d8e18644fa.zip |
Add ability to show onscreen keyboard if input field focused.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index 733bc21e8..c321cd385 100644 --- a/src/client.h +++ b/src/client.h @@ -291,6 +291,9 @@ public: const bool always = false) { instance()->resizeVideo(width, height, always); } + static bool isKeyboardVisible() + { return instance()->mKeyboardHeight > 1; } + static void setGuiAlpha(const float n); static float getGuiAlpha() A_WARN_UNUSED; @@ -422,6 +425,7 @@ private: Skin *mSkin; int mButtonPadding; int mButtonSpacing; + int mKeyboardHeight; }; #endif // CLIENT_H |