Creating a touch gui with sdl only?

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

Message-ID: <630771443601077 at web23j.yandex.ru>
Content-Type: text/plain; charset=koi8-r

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).

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.

Will the SDL enable me to do so? Is is practicable (LoC)?

Only you can decide that.

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.

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.> Date: Wed, 30 Sep 2015 10:17:57 +0200

From: deco33000 Jog
To: SDL Development List
Subject: [SDL] creating a touch gui with sdl only ?

Thanks a lot for your input Jared :slight_smile:

–?
Jog

08.10.2015, 03:13, “Jared Maddox” :>> ?Date: Wed, 30 Sep 2015 10:17:57 +0200

?From: deco33000 Jog <@deco33000_Jog>
?To: SDL Development List
?Subject: [SDL] creating a touch gui with sdl only ?
?Message-ID: <630771443601077 at web23j.yandex.ru>
?Content-Type: text/plain; charset=koi8-r

?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).

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.

?Will the SDL enable me to do so? Is is practicable (LoC)?

Only you can decide that.

?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.

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
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org