creating a touch gui with sdl only ? |
deco33000 Jog
Guest
|
Hi,
I am developping a LCD tablet (touch support). The goal is to personalize as much as possible the design of my windows (custom buttons style, scrolling.. and so on). The apps will be 2D (like any normal software). As far as games are envisaged, we will use openGL (and vulkan later). Will the SDL enable me to do so? Is is practicable (LoC)? I would not use Qt because of the licence nor gtk because the -old school- style is difficult to change to our taste. But furiously want to create a new desktop experience. Thanks --š Jog _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||
|
creating a touch gui with sdl only ? |
Jared Maddox
Guest
|
Try the SDL_WINDOW_BORDERLESS window creation flag. You'll need to draw all widgets yourself, but if you want full-customization then you need that anyways. Note that the platform that your program is running on can decide to ignore the flag, only honor it partially, etc. If you want to overcome that, then you basically need to do your own distro/OS.
Only you can decide that.
Start by deciding what code-wise behavior you want. If you choose poorly, then at some point you'll need to do a lot of rewriting to get things back to rationality. Also, remember to support the traditional pointer inputs as well. Apple created waves when it did touch, but it's rather clumsy, so mice & styluses are recovering. Touch is really only good for consumer-level interactions, not anything more demanding. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||
|
creating a touch gui with sdl only ? |
deco33000 Jog
Guest
|
Thanks a lot for your input Jared :)
--š Jog 08.10.2015, 03:13, "Jared Maddox":
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||||
|