Re: Feature request, getting the screen size of the keyboard
hardcoredaniel <[email protected]> Thu, 05 Jan 2017 17:05:14 +0100 (CET)
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
It is a while ago that I looked into this, but I believe you will get a window event (like resized or size changed) that tells you the new window size that you can render on, while the keyboard is shown. From that you can compute the size of the keyboard. ---------- Původní zpráva ---------- Od: EternalLands <[email protected]> Komu: [email protected] Datum: 5. 1. 2017 16:59:38 Předmět: [SDL] Feature request, getting the screen size of the keyboard " Is there a way to get the size of the OSD keyboard on touch based devices? The reason I am asking is that I would like to know where to show the user input text, and some keyboards are larger than others (plus, many keyboards can have a size set by the user). I am interested mainly for Android, although it would be nice to have a universal function. _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org " _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org