David Olofson wrote:
Absolutely - but note that I’d of course ditch my custom version and
upgrade to SDL 1.3 as soon as that’s usable. (That’s one of the
strongest arguments against doing this hack - it’s just temporary
anyway, and won’t provide anything that SDL 1.3 is supposed to
have, AFAIK.)Did you mean ‘that SDL 1.3 is not supposed to have’?
Yep.
The discussion
here makes it sound like nobody really knows what features SDL 1.3
will have and when it will be available.
That’s about it.
Is there another discussion
forum dealing with these questions?
Not that I know of. Is there?
However, there
is a lot of independently useful code and functionality in both
GTK, Qt and software being written to those APIs. So I would add
that extra ‘cruft’ is the price one pays for not reinventing
multiple wheels.Of course, but I’d draw the line where writing a “wrapper” is more
complicated than reimplementing what you need in a way that fits your
design. It’s still possible to “rip” algorithms here and there, of
course - one of the best things with Free/Open Source.Not sure what the “wrapper” part refers to here. I’m not talking
about anything that fits my definition of a wrapper.
Well, say it was possible to create child windows in the form of SDL
sub-surfaces, with “advanced clipping”. If you wanted to throw in a
window manager, you could implement it as a “wrapper” for the functions
you’d normally use to deal with the management of child windows, and pass
all relevant events through a function of the window manager, so it can
manage focus, window movement, resizing etc.
The real way, however, would be to allow the window manager to hook into
SDL, so that applications don’t have to explicitly “run” the window
manager - it would automatically add contexts for window borders, render
them, intercept mouse clicks on them and so on. Applications would just
have to be aware that it’s possible that punping the event loop may
result in windows being moved or resized, and that some events may be
translated into WM events.
//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 Thursday 11 October 2001 18:51, Josh Stern wrote: