This is possibly a dumb question, but how ridiculous would it be to
have a Gtk port to SDL? I’m not talking about having an SDL Gtk-widget
that you can embed in an existing Gtk app, I mean porting Gtk/Gdk to
use SDL as its primary rendering surface.
Not too ridiculous. In fact, probably less ridiculous than the fbdev port
and similar projects that already exist, and address embedded systems.
Porting GTK+ to SDL would make it run in such environments and on X or
whatever, without even a recompile.
I vaguely recall some talk about that a while back, and am curious
where things are.
Obstacles I see are that the whole point of SDL is to be
cross-platform, and Gdk/Gtk probably make some API calls that are not
necessarily portable.
You’d have to change most of those to use SDL anyway, or it wouldn’t work
on all SDL targets. (You’re never supposed to bypass SDL for doing things
it can do.) SDL is not just about rendering, you know.
Since I’m at least somewhat clueless, anyone who actually knows what
they’re talking about have anything to add?
Well, there’s one major issue: SDL doesn’t (officially) support multiple
windows.
Mark Lindner just announced that he’s written a
patch, but it’s X only, and only deals with the rendering part of the API.
//David Olofson — Programmer, Reologica Instruments AB
.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |
-------------------------------------> http://olofson.net -'On Wednesday 24 April 2002 18:07, Roy Wood wrote: