diff options
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 |