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
SDL_WINDOWID equivalent in SDL2
Alvin Beach
Guest

Hello all,

Is it possible to embed a SDL2's SDL_Window into another GUI Window? If so, how has it changed from SDL 1.2?

I have an old app that uses SDL 1.2 which I would like to update to SDL2. The app sets the SDL_WINDOWID environment variable before initialising SDL.I
have grep'd the source for "SDL_WINDOWID" as well as getenv(), however, I do not see this environment variable or something that could be related.

Any pointers would be greatly appreciated. Thanks.


Cheers,

Alvin
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL_WINDOWID equivalent in SDL2
Alvin Beach
Guest

On 22/07/14 14:33, Alvin Beach wrote:
Quote:
Hello all,

Is it possible to embed a SDL2's SDL_Window into another GUI Window? If so, how has it changed from SDL 1.2?

[snip]

Moments after sending the email, I found SDL_CreateWindowFrom() and test/testnative.c. Sorry for the noise.

Alvin

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org