Added a love.keyboard.setTextInput variant (setTextInput(enable, x, y, width, height)) to specify a rectangle where text is expected to be displayed on the screen. This is used as a hint so on-screen keyboards won't cover the text area.

Added love.keyboard.hasScreenKeyboard.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-02-17 00:35:01 -04:00
parent 2f1c89006e
commit 44d10be928
5 changed files with 53 additions and 3 deletions
+1
View File
@@ -38,6 +38,7 @@ int w_getKeyFromScancode(lua_State *L);
int w_getScancodeFromkey(lua_State *L);
int w_setTextInput(lua_State *L);
int w_hasTextInput(lua_State *L);
int w_hasScreenKeyboard(lua_State *L);
extern "C" LOVE_EXPORT int luaopen_love_keyboard(lua_State *L);
} // keyboard