The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
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

Quote:
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 ?
Message-ID:
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.


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


Only you can decide that.


Quote:
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

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":
Quote:
Quote:
š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 ?
šMessage-ID:
š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.

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

Only you can decide that.

Quote:
š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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org