Re: Android, iOS
Ben Henning <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CAGxTCeyyEiNcp1WPLGSsEpVu3cYDib9oMt+eB6VXjZ+NVHkURA@mail.gmail.com> |
I could be wrong about a few of these things, but as I understand SDL likely just uses OpenGL when rendering on iOS/Android. You can retrieve context information about the GL context from SDL, so any GUI system that can render using OpenGL is interoperable with SDL. In terms of getting input, SDL makes it pretty easy to poll for input agnostic of platform and piping that over to a UI system is generally pretty simple. If you're interested in a higher level UI library or perhaps the UI library built into Android/iOS, I'm not really sure how easy/hard that would be to interoperate with SDL. I get a bit lost at that point. :) On Wed, Aug 17, 2016 at 8:49 PM, Jack Andrews <[email protected]> wrote: > Hi guys, > > The thread on WinXP prompts me to ask about devices and "the future". I > haven't tried SDL on my phone yet (I have no experience developing for > android/iOS). > > I imagine that SDL is suited to the small screen where each app seems to > have a different look and feel. > > I notice SDL_ttf builds on android/ios - does anyone use cairo or pango on > devices? Is there any FOSS UI lib that you'd consider an alternative to > SDL for small to large hardware? > > Or should a UI be custom on each platform? I guess that's proved to be > not the case on laptops and desktops.. > > jack. > > _______________________________________________ > 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