mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-04 19:36:43 +03:00
AppPlatform Fixes
This commit is contained in:
committed by
iProgramInCpp
parent
2356757730
commit
06c69d3cc8
@@ -283,7 +283,17 @@ void AppPlatform_android::setShiftPressed(bool b)
|
||||
m_bShiftPressed = b;
|
||||
}
|
||||
|
||||
void AppPlatform_android::showKeyboard(bool bShown)
|
||||
void AppPlatform_android::showKeyboard(int x, int y, int w, int h)
|
||||
{
|
||||
changeKeyboardVisibility(true);
|
||||
}
|
||||
|
||||
void AppPlatform_android::hideKeyboard()
|
||||
{
|
||||
changeKeyboardVisibility(false);
|
||||
}
|
||||
|
||||
void AppPlatform_android::changeKeyboardVisibility(bool bShown)
|
||||
{
|
||||
JavaVM* pVM = m_app->activity->vm;
|
||||
JNIEnv* pEnv = m_app->activity->env;
|
||||
@@ -340,11 +350,6 @@ void AppPlatform_android::showKeyboard(bool bShown)
|
||||
pVM->DetachCurrentThread();
|
||||
}
|
||||
|
||||
void AppPlatform_android::onHideKeyboard()
|
||||
{
|
||||
m_bIsKeyboardShown = false;
|
||||
}
|
||||
|
||||
int AppPlatform_android::getKeyboardUpOffset()
|
||||
{
|
||||
// @TODO
|
||||
|
||||
Reference in New Issue
Block a user