Widget set

Hello all,
I’ve been using SDL with OpenGL for a while now, and using AntTweakBar
if I ever needed a simple UI. Unfortunately, I have an app with greater
requirements, a model viewer. This app needs a much more dynamic
interface than I believe AntTweakBar is capable of, such as file
browsing windows.
My non-OGL apps often use wxWidgets but most of the forum postings
I’ve read show a certain level of incompatibility between SDL and
wxGLCanvas due to the way they handle inputs and so forth. Plus the
little rendering engine I’m working on is using SDL rather heavily and
would prefer not to have to detach all the GL code form that.
So, can anyone suggest either a good SDL-compatible advanced GUI set
or a way of getting SDL and wxWidgets to talk (maybe I could have a
wxWidgets ‘main app’ that casts off a thread in which SDL creates & runs
a window) or something else entirely.

Thanks for any ideas,

Gyro Tech

guichan (http://guichan.sf.net) is an excellent GUI library that can be
easily extended to include any kind of new widget you need. It doesn’t come
with a built-in file browser, but it’s a relatively painless process to
create one (I wrote one in several hours in an afternoon).

Cheers,
JoshOn Dec 27, 2007 12:16 PM, GyroTech wrote:

Hello all,
I’ve been using SDL with OpenGL for a while now, and using AntTweakBar
if I ever needed a simple UI. Unfortunately, I have an app with greater
requirements, a model viewer. This app needs a much more dynamic
interface than I believe AntTweakBar is capable of, such as file
browsing windows.
My non-OGL apps often use wxWidgets but most of the forum postings
I’ve read show a certain level of incompatibility between SDL and
wxGLCanvas due to the way they handle inputs and so forth. Plus the
little rendering engine I’m working on is using SDL rather heavily and
would prefer not to have to detach all the GL code form that.
So, can anyone suggest either a good SDL-compatible advanced GUI set
or a way of getting SDL and wxWidgets to talk (maybe I could have a
wxWidgets ‘main app’ that casts off a thread in which SDL creates & runs
a window) or something else entirely.

Thanks for any ideas,

Gyro Tech


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

Check out Agar: http://libagar.org/. It supports both SDL and OpenGL and
many 3D visualization applications have been developed with it. The standard
widget set does include a file browser (http://libagar.org/man3/AG_FileDlg).On Thu, Dec 27, 2007 at 05:16:10PM +0000, GyroTech wrote:

Hello all,
I’ve been using SDL with OpenGL for a while now, and using AntTweakBar
if I ever needed a simple UI. Unfortunately, I have an app with greater
requirements, a model viewer. This app needs a much more dynamic
interface than I believe AntTweakBar is capable of, such as file
browsing windows.
My non-OGL apps often use wxWidgets but most of the forum postings
I’ve read show a certain level of incompatibility between SDL and
wxGLCanvas due to the way they handle inputs and so forth. Plus the
little rendering engine I’m working on is using SDL rather heavily and
would prefer not to have to detach all the GL code form that.
So, can anyone suggest either a good SDL-compatible advanced GUI set
or a way of getting SDL and wxWidgets to talk (maybe I could have a
wxWidgets ‘main app’ that casts off a thread in which SDL creates & runs
a window) or something else entirely.

Thanks for any ideas,

Gyro Tech

Thanks for that, I’ll look into it. I didn’t find that one before so
it’s new to me. thanks for the info.

Josh Matthews wrote:> guichan (http://guichan.sf.net) is an excellent GUI library that can be

easily extended to include any kind of new widget you need. It doesn’t
come with a built-in file browser, but it’s a relatively painless
process to create one (I wrote one in several hours in an afternoon).

Cheers,
Josh

I have the pleasure of writing to SDL-ml for the first time.
How about SDL_wx, which I made.

SDL_wx is a wrapper around the excellent wxWidgets 2.4 or higher library.
SDL_wx allows you to use wxWidgets gui api to use optional gui widgets
outside the SDL main window in SDL applications.
To make the library, first install the wxWidgets library, then type
’./configure’ then ‘make’ to build the SDL_wx library and the test
applications.
SDL_wx is available under the GNU Library General Public License,
see the tarball file “COPYING” for details._________________________________________________________________
Web???Windows Live ???
http://go.windowslive.jp/

Thank you very much for your in-depth explanation.
I registered SDL_wx to the SDL website.> Great!

If you haven’t already, can you add it to the SDL website?
http://www.libsdl.org/faq.php?action=listentries&category=1#60

See ya,
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment


???MSN???
http://questionbox.msn.co.jp/c531.html