SDL and windows

does SDL have any window management ?

if it has one, we could write an x server, Xlib, widget sets (e.g. Qt)
etc.
based directly on SDL. The hardware would sit now in SDL
(OGL,GGI,fbdev,…).

this would have the following advantages:

  1. the access would be as “native” as possible.
    (i think one aim of SDL was to provide an direct access)

  2. no more conflicts between some SDL backends and X-servers.

  3. for local usage, the xwindow protocol is not needed anymore.
    (now the xserver is loaded when it’s really needed)

  4. we bypass an old interface - use the newer, better one and
    if we really need the old one, we emulate it.

we could port the most important widget sets (Qt, motif, …) to SDL, so
all apps which use them, go (almost) directly to SDL. with this we also
have widget set for our SDL applications.

the system which i imagine would perhaps look like this :


| remote X app | | local X app | | widget app |


    ||               ||               ||
    \/               \/               \/

| SDL X Server | | local Xlib | | widget libs |


    ||               ||               ||
    \/               \/               \/---------------------------------------------------
S.D.L. Library

my motto: put as much as possible on the server site …

bye,
ew.

does SDL have any window management ?

No, you would have to write that yourself, probably based on the SDL_Surface
concept.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec