A few questions

I’ve been away from SDL for a while and am considering it for
my next project but the last time I worked with SDL it didn’t
have some features I require. I did a quick search on the
newsgroup and the FAQ and didn’t find the answers if someone
has some information on these two topics I’d appreciate it.

Multiple windows, does SDL support this yet? And how do you do it?

Resizing of windows, I think I heard this can be done but I haven’t
found any info on it.

Thanks.

                    -fjr

Multiple windows still are’nt supported, unless you count faking it
with a SDL based GUI like paragui. Resizing is done by passing the
SDL_RESIZABLE flag when calling SDL_SetVideo, SDL notifies you when
the resize occurs through a SDL_VIDEORESIZE event, so you can update
your display based on your new demitions.

Frank J. Ramsay wrote:> I’ve been away from SDL for a while and am considering it for

my next project but the last time I worked with SDL it didn’t
have some features I require. I did a quick search on the
newsgroup and the FAQ and didn’t find the answers if someone
has some information on these two topics I’d appreciate it.

Multiple windows, does SDL support this yet? And how do you do it?

Resizing of windows, I think I heard this can be done but I haven’t
found any info on it.

Thanks.

                    -fjr

SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

I’ve been away from SDL for a while and am considering it for
my next project but the last time I worked with SDL it didn’t
have some features I require. I did a quick search on the
newsgroup and the FAQ and didn’t find the answers if someone
has some information on these two topics I’d appreciate it.

Multiple windows, does SDL support this yet?

No, not “natively”. (A few of us considered hacking it in, but it turns
out to be quite complicated getting it to work on many platforms - most
video subsystems require that SDL has a notion of the video system as a
“global object”, in addition to each window context.)

And how do you do it?

You fork() (or whatever) off a separate processes for each window, but
that doesn’t work too well on some platforms. There may be platforms
where it’s not at all possible, and either way, you need platform
specific code for forking and IPC.

Resizing of windows, I think I heard this can be done but I haven’t
found any info on it.

(See Phoenix Kokido’s reply.)

//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 24 January 2002 01:01, Frank J. Ramsay wrote: