Slightly larger on-screen keyboard

This commit is contained in:
pelya
2014-11-10 00:29:33 +02:00
parent a6ca9e6bef
commit 96f7399976

View File

@@ -690,7 +690,7 @@ JAVA_EXPORT_NAME(Settings_nativeSetupScreenKeyboard) ( JNIEnv* env, jobject thiz
}
// Arrows to the lower-left part of screen
arrows[0].w = SDL_ANDROID_sRealWindowWidth / (size + 2) * 2 / 3;
arrows[0].w = SDL_ANDROID_sRealWindowWidth / (size + 3) * 2 / 2;
arrows[0].h = arrows[0].w;
// Move to the screen edge
arrows[0].x = 0;
@@ -727,7 +727,7 @@ JAVA_EXPORT_NAME(Settings_nativeSetupScreenKeyboard) ( JNIEnv* env, jobject thiz
{
// Custom button ordering
int iii = ii + i*2;
buttons[iii].w = SDL_ANDROID_sRealWindowWidth / (size + 2) / 3;
buttons[iii].w = SDL_ANDROID_sRealWindowWidth / (size + 3) / 2;
buttons[iii].h = buttons[iii].w;
// Move to the screen edge
buttons[iii].x = SDL_ANDROID_sRealWindowWidth - buttons[iii].w * (ii + 1);