Re: Feature request, getting the screen size of the keyboard
Alex Szpakowski <[email protected]> Thu, 5 Jan 2017 19:16:13 -0400
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
I don’t know how the SDL implementation on Android works, but SDL’s code on iOS makes sure the on-screen text area you specify with SDL_SetTextInputRect is always visible, by pushing the window up if needed while the keyboard is shown. The above function is available on all platforms. > On Jan 5, 2017, at 4:48 PM, Joshua Granick <[email protected]> wrote: > > That won't work for a tablet, where a keyboard can float, or not cover the whole bottom of a screen on iOS. > > I added this to an old codebase, but need to implement again for SDL 2. Here's some of the relevant code: > _______________________________________________ > SDL mailing list > [email protected] <mailto:[email protected]> > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org <http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org> _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org