Is anyone aware of a (platform independent) menu system?
Yes I know there are SDL 1.2 things about. But I need a recommendation.
If its an SDL add-on and uses SDL it has to be SDL2 (actively maintained)
It has to work on Windows 7, Linux, and OSX.
I don’t think it is possible to implement this in pure SDL because,
for example, there’s no way to post top level menu (the subsidiary
menus could be done in SDL I think).
In particular the convention on OSX is to post to the bar at the top
of the screen (not the window’s bar).
Thanks for any clues!–
john skaller
@john_skaller
http://felix-lang.org
2013/8/12 john skaller
Is anyone aware of a (platform independent) menu system?
Yes I know there are SDL 1.2 things about. But I need a recommendation.
If its an SDL add-on and uses SDL it has to be SDL2 (actively maintained)
It has to work on Windows 7, Linux, and OSX.
I don’t think it is possible to implement this in pure SDL because,
for example, there’s no way to post top level menu (the subsidiary
menus could be done in SDL I think).
In particular the convention on OSX is to post to the bar at the top
of the screen (not the window’s bar).
Thanks for any clues!
I use libRocket (integrated via the unofficial SDL_RenderGeometry function)
for the GUI, it’s based on an almost-HTML/CSS file format and can be
scripted with Python.–
Gabriel.
Hi Gabriel,
do you have the code for the “connector” somewhere published? I would
really be interested in librocket + sdl2. But I think it’s more than
just the SDL_RenderGeometry patch, no?
Regards
MartinAm 12.08.2013 14:34, schrieb Gabriel Jacobo:
2013/8/12 john skaller <skaller at users.sourceforge.net
<mailto:skaller at users.sourceforge.net>>
Is anyone aware of a (platform independent) menu system?
Yes I know there are SDL 1.2 things about. But I need a
recommendation.
If its an SDL add-on and uses SDL it has to be SDL2 (actively
maintained)
It has to work on Windows 7, Linux, and OSX.
I don't think it is possible to implement this in pure SDL because,
for example, there's no way to post top level menu (the subsidiary
menus could be done in SDL I think).
In particular the convention on OSX is to post to the bar at the top
of the screen (not the window's bar).
Thanks for any clues!
I use libRocket (integrated via the unofficial SDL_RenderGeometry
function) for the GUI, it’s based on an almost-HTML/CSS file format
and can be scripted with Python.
–
Gabriel.
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
2013/8/12 Martin Gerhardy <martin.gerhardy at gmail.com>> Am 12.08.2013 14:34, schrieb Gabriel Jacobo:
2013/8/12 john skaller
Is anyone aware of a (platform independent) menu system?
Yes I know there are SDL 1.2 things about. But I need a recommendation.
If its an SDL add-on and uses SDL it has to be SDL2 (actively maintained)
It has to work on Windows 7, Linux, and OSX.
I don’t think it is possible to implement this in pure SDL because,
for example, there’s no way to post top level menu (the subsidiary
menus could be done in SDL I think).
In particular the convention on OSX is to post to the bar at the top
of the screen (not the window’s bar).
Thanks for any clues!
I use libRocket (integrated via the unofficial SDL_RenderGeometry
function) for the GUI, it’s based on an almost-HTML/CSS file format and can
be scripted with Python.
–
Gabriel.
SDL mailing listSDL at lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Hi Gabriel,
do you have the code for the “connector” somewhere published? I would
really be interested in librocket + sdl2. But I think it’s more than just
the SDL_RenderGeometry patch, no?
Regards
Martin
I made this article explaining some of it:
http://mdqinc.com/blog/2013/01/integrating-librocket-with-sdl-2/
That’s pre SDL_RenderGeometry (which is available in my Bitbucket fork),
which basically takes those functions listed there and moves them into SDL.
The keyboard/mouse input side of things is also taken care of with SDL, the
code is available inside the engine and quite simple to follow/steal
actually.
–
Gabriel.