[SDL] Could you recommend a GUI library for SDL?

Jay Vaughan jayv at synth.net
Wed Jun 21 03:11:57 PDT 2006


>IMHO SVG is not enought for GUI.
>How about user interaction? GUI is not only graphics, but also a bunch
>of utility functions (or classes) that define how this graphics behave
>on user's actions.

Define it all yourself in SVG.  Use librsvg to implement the 
behaviours.  Use SDL to wrap whatever User events 
(Mouse/Keyboard/etc) are needed to modify those behaviours.  Its 
maybe is not a greta 'turnkey GUI solution', but if you have a look 
at it, and try your own implementation, you might see that it is far 
more powerful an approach than to use a pre-packaged method ..

Having done it, I'll never bother with 'yet another GUI lib' again .. 
SVG gives you a structure for all your GUI elements, SDL has the 
Event handling down pretty well, and .. there's just no need to do it 
any other way, once you've done it once ..
-- 

;

Jay Vaughan





More information about the SDL mailing list