The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
[HELP] Displaying on several windows
Guillaume MAISON
Guest

Hi everyone,

i'm using the Delphi JEDI-SDL wrapper for SDL and Delphi 7 on win32.

my purpose is to use SDL to display several Motion JPEG (MJPEG) streams within an application.
i've seen in the documentation that there's an envvar (SDL_WINDOWID) that has to be set if you
want to use a window as a surface to display.

As i want to display several streams and as the SDL_WINDOWID seems to be unique for the application,
i don't know how to create more than one display (Actually, for those who know Delphi, i'm using a TPanel object - which has a
HWND - to display the JPEG images).

Is there a way to set several windowsID or do i have to create just one and manage my own way
to display all the streams within this display ?

Thanks in advance for you help,

Best regards,

--

Guillaume MAISON - N at uteus
83, Cours Victor Hugo
47000 AGEN
T?l : 05 53 87 91 48 - Fax : 05 53 68 73 50
e-mail : gmaison at nauteus.com - Web : http://nauteus.com
[HELP] Displaying on several windows
Olivier Delannoy
Guest

SDL does not support multi windows in the 1.2 branches. Multi windows
is not supported because it's a feature available only if you are
using a window manager which is not the case in various video driver
supported by SDL. Some works have been discuss on this list for adding
multi-window support in 1.3 branch but I can't say more on this topic.
You have to look the mailing list archives for finding people working
on this topic.

On 1/13/06, Guillaume MAISON <gmaison at nauteus.com> wrote:
Quote:
Hi everyone,

i'm using the Delphi JEDI-SDL wrapper for SDL and Delphi 7 on win32.

my purpose is to use SDL to display several Motion JPEG (MJPEG) streams within an application.
i've seen in the documentation that there's an envvar (SDL_WINDOWID) that has to be set if you
want to use a window as a surface to display.

As i want to display several streams and as the SDL_WINDOWID seems to be unique for the application,
i don't know how to create more than one display (Actually, for those who know Delphi, i'm using a TPanel object - which has a
HWND - to display the JPEG images).

Is there a way to set several windowsID or do i have to create just one and manage my own way
to display all the streams within this display ?

Thanks in advance for you help,

Best regards,

--

Guillaume MAISON - N at uteus
83, Cours Victor Hugo
47000 AGEN
T?l : 05 53 87 91 48 - Fax : 05 53 68 73 50
e-mail : gmaison at nauteus.com - Web : http://nauteus.com


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