Popup/Pulldown menus in SDL, was Re: Multiple SDL Windows?

This is something I was looking for advice on – is
there an existing library that would make it easy for
me to have pulldown or popup menus in an SDL application?

Ideally, they would sit at the bottom of the SDL viewport
and pop-up – sort of like the Win32 “Start” menu,
or pull-down from the top like the Netscape "Bookmarks"
menu. And like both, they could have hierarchicl subheadings.

If one could specify menu headings and callback arguments
with an XML specification file that would be even better.

I looked at ParaGUI, but although it does buttons and
things, it doesn’t support anything as high level as
a menu. There are several other GUIs on the SDL
"libraries" page, but I’m not sure which ones (if any)
would support these kind of features.

This and a few buttons are pretty much the only GUI
elements I need for this application (which is a game
engine, http://sourceforge.net/projects/automanga ).

Can anyone make any recommendations based on that?

Thanks!
Terry Hancock

Anoq of the Sun wrote:> Yes - what I want to use it for is to create a cross-platform

GUI toolkit on top of SDL - and I want it to be possible to
create look & feels out of bitmap graphics and to run the
applications like “normal” desktop applications with pop-up
menus, several windows etc.

Actually I’m talking about an SDL backend for my GUI toolkit in ML:
http://www.HardcoreProcessing.com/pro/abstractuiml/index.html


Terry Hancock
@Terry_Hancock

I looked at ParaGUI, but although it does buttons and
things, it doesn’t support anything as high level as
a menu. There are several other GUIs on the SDL
"libraries" page, but I’m not sure which ones (if any)
would support these kind of features.

I already mentioned on the ParaGUI ml:
Implementing such a popup widget isn’t a very complicated task.

Create a widget and but some buttons in it.
That’s it.

The only prerequisite would by that people take a look at things.
There aren’t always “out of the box” solutions that work for everyone.
I just wanted to concentrate on basic stuff on ParaGUI till now.

Just try it and you will see that it’s easier as you would think!

AlexOn Friday 23 March 2001 20:36, you wrote: