GUI on sdl

hi all,
i am new to sdl and is currently working on a webcam application developed in
sdl for which i need some nice gui frontend.
mainly i need some buttons, radio groups, scroll bars, check boxes and drop
down lists.
can anybody tell me that whether there is any library or calls in sdl, if not
then how can i implement these features in my application.

Thanx in advance
Bharat

Bharat,
There are several options you can try on the SDL libraries page:
http://www.libsdl.org/libraries.php
Do a search for “gui” in the “Named” box…
Be sure to read about the features of each to see if they fit your
requirements.
Cheers!
-Dave Olsen> ----- Original Message -----

From: bharat.gusain@st.com (Bharat Singh GUSAIN)
To:
Sent: Wednesday, June 07, 2006 2:28 PM
Subject: [SDL] GUI on sdl

hi all,
i am new to sdl and is currently working on a webcam application developed
in
sdl for which i need some nice gui frontend.
mainly i need some buttons, radio groups, scroll bars, check boxes and
drop
down lists.
can anybody tell me that whether there is any library or calls in sdl, if
not
then how can i implement these features in my application.

Thanx in advance
Bharat


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

  • David Olsen – Thursday 08 June 2006 04:57:

There are several options you can try on the SDL libraries page:
http://www.libsdl.org/libraries.php

For sake of completeness, and missing in this list: there’s also
plib’s “PUI”:

http://plib.sf.net/pui/index.html

We are using it in FlightGear together with SDL (or GLUT). Here are
some screenshots:

http://www.flightgear.org/Gallery-v0.9.10/Link/concorde-gui.html
http://members.aon.at/mfranz/atc-dialogs.jpg [40 kB]
http://members.aon.at/mfranz/fgfs_gui.jpg [80 kB]

m.

One of the most complete GUIs are ParaGUI, SDLTk and aedGUI. Find them
on Libraries page.

??? ??? wrote:

One of the most complete GUIs are ParaGUI, SDLTk and aedGUI. Find them
on Libraries page.

An important consideration for many SDL programmers, especially those who are relatively new to it, is having minimal dependencies. I haven’t used SDLTk or aedGUI, but I know ParaGUI, while a very powerful GUI library, has prohibitively complicated dependencies, and it took an excessive amount of time and energy for me to get it working under Windows. Looking through the ParaGUI forums shows that I’m far from alone on this point as well.

If you want something a bit simpler and easier, try GUIChan. It’s not as complete or fancy as many of the others, but it has almost no dependencies and is very easy to set up and use.

??? ??? on 2006-06-08 09:37 spammed:

ParaGUI

Looks nice, but requirement of using their classes to handle event loop
and starting the main SDL window, disqualifies it for me.–
SirMike

Another one is Agar (http://agar.csoft.org/). It has no dependencies besides
SDL (although it can use FreeType and OpenGL if you have them). Great effort
was made towards making its API simple and straightforward to use.

It is also quite flexible in that you don’t need to build your application
around its event loop - you can render widgets and forward events to the
GUI subsystem in just a few lines of code, from your own event loop.On Thu, Jun 08, 2006 at 01:33:17AM -0700, Mike Powell wrote:

??? ??? wrote:

One of the most complete GUIs are ParaGUI, SDLTk and aedGUI. Find them
on Libraries page.

An important consideration for many SDL programmers, especially those who are relatively new to it, is having minimal dependencies. I haven’t used SDLTk or aedGUI, but I know ParaGUI, while a very powerful GUI library, has prohibitively complicated dependencies, and it took an excessive amount of time and energy for me to get it working under Windows. Looking through the ParaGUI forums shows that I’m far from alone on this point as well.

If you want something a bit simpler and easier, try GUIChan. It’s not as complete or fancy as many of the others, but it has almost no dependencies and is very easy to set up and use.

If you are using OpenGL for the rendering via SDL you can use CEGUI
(cegui.org.uk)On 6/8/06, Wilbern Cobb wrote:

On Thu, Jun 08, 2006 at 01:33:17AM -0700, Mike Powell wrote:

??? ??? wrote:

One of the most complete GUIs are ParaGUI, SDLTk and aedGUI. Find them
on Libraries page.

An important consideration for many SDL programmers, especially those who are relatively new to it, is having minimal dependencies. I haven’t used SDLTk or aedGUI, but I know ParaGUI, while a very powerful GUI library, has prohibitively complicated dependencies, and it took an excessive amount of time and energy for me to get it working under Windows. Looking through the ParaGUI forums shows that I’m far from alone on this point as well.

If you want something a bit simpler and easier, try GUIChan. It’s not as complete or fancy as many of the others, but it has almost no dependencies and is very easy to set up and use.

Another one is Agar (http://agar.csoft.org/). It has no dependencies besides
SDL (although it can use FreeType and OpenGL if you have them). Great effort
was made towards making its API simple and straightforward to use.

It is also quite flexible in that you don’t need to build your application
around its event loop - you can render widgets and forward events to the
GUI subsystem in just a few lines of code, from your own event loop.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Wilbern Cobb wrote:> On Thu, Jun 08, 2006 at 01:33:17AM -0700, Mike Powell wrote:

??? ??? wrote:

One of the most complete GUIs are ParaGUI, SDLTk and aedGUI. Find them
on Libraries page.

An important consideration for many SDL programmers, especially those who are relatively new to it, is having minimal dependencies. I haven’t used SDLTk or aedGUI, but I know ParaGUI, while a very powerful GUI library, has prohibitively complicated dependencies, and it took an excessive amount of time and energy for me to get it working under Windows. Looking through the ParaGUI forums shows that I’m far from alone on this point as well.

If you want something a bit simpler and easier, try GUIChan. It’s not as complete or fancy as many of the others, but it has almost no dependencies and is very easy to set up and use.

Another one is Agar (http://agar.csoft.org/). It has no dependencies besides
SDL (although it can use FreeType and OpenGL if you have them). Great effort
was made towards making its API simple and straightforward to use.

It is also quite flexible in that you don’t need to build your application
around its event loop - you can render widgets and forward events to the
GUI subsystem in just a few lines of code, from your own event loop.

The API may be simple, but it’s rather hard to tell since the documentation is so obtuse. Is there any documentation besides the API Reference on the web page, maybe something that a little more tutorial like, giving a starting point or overview of how to do certain simple tasks?